aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/clean_logger.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib/active_support/clean_logger.rb')
-rw-r--r--activesupport/lib/active_support/clean_logger.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/clean_logger.rb b/activesupport/lib/active_support/clean_logger.rb
index 89dfae8f2f..2730ef9008 100644
--- a/activesupport/lib/active_support/clean_logger.rb
+++ b/activesupport/lib/active_support/clean_logger.rb
@@ -20,6 +20,8 @@ class Logger #:nodoc:
end
private
+ alias old_format_message format_message
+
# Ruby 1.8.3 transposed the msg and progname arguments to format_message.
# We can't test RUBY_VERSION because some distributions don't keep Ruby
# and its standard library in sync, leading to installations of Ruby 1.8.2