diff options
| author | Luc Donnet | 2015-05-21 15:55:01 +0200 |
|---|---|---|
| committer | Luc Donnet | 2015-05-21 15:55:01 +0200 |
| commit | 797a169fe18ea931cd0cee24ccc1fb36a23c1d4d (patch) | |
| tree | e8466e6083a7b41d4a93d12ee5116c7cfa3af3ca /config | |
| parent | 0632361d27cc6fa9abbc7369fb4130f6c467e768 (diff) | |
| download | chouette-core-797a169fe18ea931cd0cee24ccc1fb36a23c1d4d.tar.bz2 | |
Fix SyslogLogger call in production.rb
Diffstat (limited to 'config')
| -rw-r--r-- | config/environments/production.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb index d7e0733df..ec16019bf 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -37,13 +37,15 @@ Rails.application.configure do # config.force_ssl = true # Set to :debug to see everything in the log. - config.log_level = :info + # config.log_level = :info # 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) + config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new("rails/chouette2").tap do |syslog| + syslog.level = Logger::INFO + end) # Use a different cache store in production. # config.cache_store = :mem_cache_store |
