Set the log level correctly for the custom logger.
This commit is contained in:
parent
7cf62a982a
commit
c4307c7f04
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ Rails::Initializer.run do |config|
|
|||
|
||||
# Use our custom logger
|
||||
config.logger = OSMLogger.new(config.log_path)
|
||||
config.logger.level = Logger.const_get(config.log_level.to_s.upcase)
|
||||
|
||||
# Use the database for sessions instead of the file system
|
||||
# (create the session table with 'rake db:sessions:create')
|
||||
|
|
Loading…
Add table
Reference in a new issue