X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/7cf62a982aa2eab977f7dddbf0d11050d122f149..e976a6df5a3f1c594417ec947a60679b93bcbe97:/config/environment.rb 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')