diff options
author | Azul <azul@leap.se> | 2013-09-19 12:14:12 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2013-09-19 12:14:12 +0200 |
commit | 073dc636ffa2da07ee7a719c6166a3ca1b593fb3 (patch) | |
tree | 8fa3c106ef08f072ec5bb2c8f7ab0b442dc62724 /config/application.rb | |
parent | 22e6f781caec701a4d041e0ac183df4c955e89c2 (diff) |
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 |