chore: Update dependencies (#1173)

This commit is contained in:
Sojan Jose
2020-09-08 11:24:08 +05:30
committed by GitHub
parent 3ffb29bf4e
commit ac5d755545
33 changed files with 134 additions and 150 deletions

View File

@@ -78,12 +78,12 @@ Rails.application.configure do
# config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name')
if ENV['RAILS_LOG_TO_STDOUT'].present?
logger = ActiveSupport::Logger.new(STDOUT)
logger = ActiveSupport::Logger.new($stdout)
logger.formatter = config.log_formatter
config.logger = ActiveSupport::TaggedLogging.new(logger)
else
config.logger = ActiveSupport::Logger.new(
Rails.root.join('log', Rails.env + '.log'),
Rails.root.join("log/#{Rails.env}.log"),
1,
ENV.fetch('LOG_SIZE', '1024').to_i.megabytes
)