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 2e10a46..c21d861 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