Skip to content

Instantly share code, notes, and snippets.

@methodmissing
Created September 14, 2008 00:36
Show Gist options
  • Save methodmissing/10672 to your computer and use it in GitHub Desktop.
Save methodmissing/10672 to your computer and use it in GitHub Desktop.
module ActiveSupport
class BufferedLogger
def <<( message )
info( message )
end
end
end
module Net
class HTTP
alias :initialize_without_logging :initialize
def initialize(address, port = nil)
initialize_without_logging( address, port )
@debug_output = ::Rails.logger
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment