]> git.openstreetmap.org Git - rails.git/blobdiff - config/environment.rb
Split the rest action into sparate read, update and delete actions thus
[rails.git] / config / environment.rb
index b96c1a872e79d58236b2b5b9250d2a0b0abaaef0..c109a5d87124618d885f021f50ad211bcb40f500 100644 (file)
@@ -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')