Skip to content

Commit

Permalink
Temporary commit to help reviewer:
Browse files Browse the repository at this point in the history
- The changes are quite substantial and creates a lot of diff hunks.
  This is going to be difficult to review so I opted to create
  *new file with existing class/module name* so that tests doesn't
  need to be modified and reviewers can focus on the implementation.

  This commit renames the previous Logger and TaggedLogging module.
  • Loading branch information
Edouard-chin committed Jul 3, 2023
1 parent e366af5 commit e34a777
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion activesupport/lib/active_support/logger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
require "logger"

module ActiveSupport
class Logger < ::Logger
class OldLogger < ::Logger
include LoggerSilence

# Returns true if the logger destination matches one of the sources
Expand Down
2 changes: 1 addition & 1 deletion activesupport/lib/active_support/tagged_logging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module ActiveSupport
# This is used by the default Rails.logger as configured by Railties to make
# it easy to stamp log lines with subdomains, request ids, and anything else
# to aid debugging of multi-user production applications.
module TaggedLogging
module OldTaggedLogging
module Formatter # :nodoc:
# This method is invoked when a log event occurs.
def call(severity, timestamp, progname, msg)
Expand Down

0 comments on commit e34a777

Please sign in to comment.