Syslog updates #2292

This commit is contained in:
Priit Tark 2015-08-13 16:38:46 +03:00
parent 07821cbf67
commit a0fecf1c2e
5 changed files with 9 additions and 6 deletions

View file

@ -49,7 +49,7 @@ Rails.application.configure do
config.log_tags = [:subdomain, :uuid, :remote_ip]
# Use a different logger for distributed setups.
config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new(ENV['app_name']))
# Use a different cache store in production.
# config.cache_store = :mem_cache_store