]> git.openstreetmap.org Git - rails.git/blobdiff - config/environments/production.rb
Fix production log configuration
[rails.git] / config / environments / production.rb
index 2e10a46a165906c82be39bd0198cf5ab20e8b975..c21d8616303298212132ced1c64f2b1aa14a1e4f 100644 (file)
@@ -35,7 +35,7 @@ OpenStreetMap::Application.configure do
 
   # Use a different log path in production
   if defined?(LOG_PATH)
-    config.log_path = LOG_PATH
+    config.paths["log"] = LOG_PATH
   end
 
   # Use a different logger for distributed setups