diff options
author | jessib <jessib@riseup.net> | 2013-09-19 10:37:37 -0700 |
---|---|---|
committer | jessib <jessib@riseup.net> | 2013-09-19 10:37:37 -0700 |
commit | 9e451421420abf520622e779443fb113ea3c4ce7 (patch) | |
tree | 6966be64614aa14e391f7dea90e035b73c233c56 /config/application.rb | |
parent | 8450af4c4c0ef35a0515586f83220762b54d5339 (diff) | |
parent | 073dc636ffa2da07ee7a719c6166a3ca1b593fb3 (diff) |
Merge pull request #86 from azul/feature/syslog-default-in-production
default to syslog in production - #3886
Diffstat (limited to 'config/application.rb')
-rw-r--r-- | config/application.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/application.rb b/config/application.rb index e8bb2f4..8587ffc 100644 --- a/config/application.rb +++ b/config/application.rb @@ -54,7 +54,7 @@ module LeapWeb # Configure sensitive parameters which will be filtered from the log file. config.filter_parameters += [:password] - if APP_CONFIG[:logfile] + if APP_CONFIG[:logfile].present? config.logger = Logger.new(APP_CONFIG[:logfile]) end |