[deploy] Bug Fix: Setup STDOUT Logger bc we need it (#9256)
This commit is contained in:
parent
8126c5c2c1
commit
628c16fd79
1 changed files with 3 additions and 1 deletions
|
|
@ -105,7 +105,9 @@ Rails.application.configure do
|
|||
logger = ActiveSupport::Logger.new(STDOUT)
|
||||
logger.formatter = config.log_formatter
|
||||
config.logger = ActiveSupport::TaggedLogging.new(logger)
|
||||
elsif (ENV["SEND_LOGS_TO_TIMBER"] || "true") == "true"
|
||||
end
|
||||
|
||||
if (ENV["SEND_LOGS_TO_TIMBER"] || "true") == "true"
|
||||
# Timber.io logger
|
||||
log_device = Timber::LogDevices::HTTP.new(ENV["TIMBER"])
|
||||
logger = Timber::Logger.new(log_device)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue