Skip to content

Commit

Permalink
Merge branch 'main' into nimmo-ruby-3.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nimmolo committed Jan 13, 2024
2 parents eacc333 + 0ccf711 commit 3369056
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ GEM
nokogiri (1.16.0-x86_64-linux)
racc (~> 1.4)
parallel (1.24.0)
parser (3.3.0.2)
parser (3.3.0.3)
ast (~> 2.4.1)
racc
psych (4.0.6)
Expand Down
4 changes: 3 additions & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,12 @@

# Log to production.log. New 7.1 logging uses BroadcastLogger
# Not using TaggedLogging yet.
# NOTE: setting `level: Logger::INFO` is a temporary fix
# https://github.com/rails/rails/pull/50337
loggers = [
"log/production.log"
].map do |output|
ActiveSupport::Logger.new(output).
ActiveSupport::Logger.new(output, level: Logger::INFO).
tap { |logger| logger.formatter = Logger::Formatter.new }
# .then { |logger| ActiveSupport::TaggedLogging.new(logger) }
end
Expand Down

0 comments on commit 3369056

Please sign in to comment.