mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 20:18:22 +02:00
Syslog updates #2292
This commit is contained in:
parent
07821cbf67
commit
a0fecf1c2e
5 changed files with 9 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue