Allow the log location to be changed in production
This commit is contained in:
parent
18fcf61953
commit
9c1a3e4708
2 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue