diff --git a/config/environment.rb b/config/environment.rb index b96c1a872..c109a5d87 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -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')