Skip to content

Instantly share code, notes, and snippets.

@bdotdub
Created December 11, 2009 04:29
Show Gist options
  • Save bdotdub/253986 to your computer and use it in GitHub Desktop.
Save bdotdub/253986 to your computer and use it in GitHub Desktop.
logger = env['rack.errors']
STDOUT.reopen(logger)
STDERR.reopen(logger)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment