Permalink
Browse files

Don't redirect sys.__stderr__ & sys.__stdout__

  • Loading branch information...
1 parent 775fe13 commit 88cc2742bbe848807088a9d5d87003ed120f5390 Ask Solem committed Sep 10, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 celery/log.py
View
@@ -60,8 +60,8 @@ def redirect_stdouts_to_logger(logger, loglevel=None):
"""
proxy = LoggingProxy(logger, loglevel)
- sys.stdout = sys.__stdout__ = proxy
- sys.stderr = sys.__stderr__ = proxy
+ sys.stdout = proxy
+ sys.stderr = proxy
return proxy

0 comments on commit 88cc274

Please sign in to comment.