diff options
author | printercu <printercu@gmail.com> | 2015-08-17 16:40:48 +0300 |
---|---|---|
committer | printercu <printercu@gmail.com> | 2015-08-17 16:40:48 +0300 |
commit | 0b7a37aa021017e8e7356ed3502d0da81da2c65a (patch) | |
tree | 67680de4bd90f072ecb32434fa8a08334fd5671e /railties | |
parent | 249a06d3bef510149201942af11909bad029e632 (diff) | |
download | rails-0b7a37aa021017e8e7356ed3502d0da81da2c65a.tar.gz rails-0b7a37aa021017e8e7356ed3502d0da81da2c65a.tar.bz2 rails-0b7a37aa021017e8e7356ed3502d0da81da2c65a.zip |
Fixed syslog example in production config template
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt b/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt index 8c09396fc1..0297ab75f6 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt +++ b/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt @@ -51,7 +51,8 @@ Rails.application.configure do # config.log_tags = [ :subdomain, :request_id ] # Use a different logger for distributed setups. - # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new) + # require 'syslog/logger' + # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name') # Use a different cache store in production. # config.cache_store = :mem_cache_store |