mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 18:59:38 +02:00
Added app name to syslog #2292
This commit is contained in:
parent
9eda064d43
commit
07821cbf67
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ Rails.application.configure do
|
||||||
config.log_tags = [:subdomain, :uuid, :remote_ip]
|
config.log_tags = [:subdomain, :uuid, :remote_ip]
|
||||||
|
|
||||||
# Use a different logger for distributed setups.
|
# 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 logger for distributed setups.
|
# Use a different logger for distributed setups.
|
||||||
# config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
|
# config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue