Allow the log location to be changed in production

This commit is contained in:
Tom Hughes 2011-08-12 22:27:15 +01:00
parent 18fcf61953
commit 9c1a3e4708
2 changed files with 7 additions and 0 deletions

View file

@ -12,6 +12,11 @@ config.action_view.cache_template_loading = true
# See everything in the log (default is :info)
# config.log_level = :debug
# Use a different log path in production
if defined?(LOG_PATH)
config.log_path = LOG_PATH
end
# Use a different logger for distributed setups
# config.logger = SyslogLogger.new

View file

@ -57,6 +57,8 @@ standard_settings: &standard_settings
gpx_image_dir: "/home/osm/images"
# Location of data for file columns
#file_column_root: ""
# Log file to use
#log_path: ""
# List of memcache servers to use for caching
#memcache_servers: []
# Enable legacy OAuth 1.0 support