Skip to content

Commit

Permalink
Update logger to use STDOUT so that logs are routed to docker in prod…
Browse files Browse the repository at this point in the history
…uction.
  • Loading branch information
Gardner Bickford committed Dec 1, 2020
1 parent 763e12f commit 875ad98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
# 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)
# Use a STDOUT logger for docker
config.logger = Logger.new(STDOUT)

# Use a different cache store in production.
# config.cache_store = :mem_cache_store
Expand Down

0 comments on commit 875ad98

Please sign in to comment.