diff options
Diffstat (limited to 'activesupport/lib/active_support/buffered_logger.rb')
-rw-r--r-- | activesupport/lib/active_support/buffered_logger.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/buffered_logger.rb b/activesupport/lib/active_support/buffered_logger.rb index fc01225966..71308eed67 100644 --- a/activesupport/lib/active_support/buffered_logger.rb +++ b/activesupport/lib/active_support/buffered_logger.rb @@ -107,6 +107,11 @@ Automatic directory creation for '#{log}' is deprecated. Please make sure the d end deprecate :flush + def respond_to?(method, include_private = false) + return false if method.to_s == "flush" + super + end + def close @log.close end |