]> git.openstreetmap.org Git - rails.git/commitdiff
Fix production log configuration
authorTom Hughes <tom@compton.nu>
Sun, 6 Nov 2011 11:39:13 +0000 (11:39 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 14 Nov 2011 09:42:58 +0000 (09:42 +0000)
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