summaryrefslogtreecommitdiff
path: root/config/environments
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2013-09-24 10:28:03 +0200
committerAzul <azul@leap.se>2013-09-24 10:28:03 +0200
commit19222102cecca04269de379708bbf71e7f32df24 (patch)
tree79c4bdcd21e14c7440e18621089a1e66b9ce39b3 /config/environments
parentc081062ea16526dfbf3ad9ba0fdec724be67949c (diff)
parent68e056061648be393dc785419fc066ec3d719e58 (diff)
Merge remote-tracking branch 'origin/master' into feature/syslog-logging-again
Diffstat (limited to 'config/environments')
-rw-r--r--config/environments/production.rb11
1 files changed, 5 insertions, 6 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb
index 73e98e5..32b4558 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -33,12 +33,11 @@ LeapWeb::Application.configure do
# See everything in the log (default is :info)
# config.log_level = :debug
- # 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)
- end
+ # Prepend all log lines with the following tags
+ # config.log_tags = [ :subdomain, :uuid ]
+
+ # Use a different logger for distributed setups
+ # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
# Use a different cache store in production
# config.cache_store = :mem_cache_store