diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/environments/production.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb index 73e98e5..7acca75 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -35,9 +35,8 @@ LeapWeb::Application.configure do # Use syslog if no file has been specified if APP_CONFIG[:logfile].blank? - # Prepend all log lines with the following tags - config.log_tags = [ :leap, :webapp ] - config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new) + require 'syslog/logger' + config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new('webapp')) end # Use a different cache store in production |