diff options
| -rw-r--r-- | python/client.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/client.py b/python/client.py index f42f89cf..8bfa889d 100644 --- a/python/client.py +++ b/python/client.py @@ -1,4 +1,5 @@ import logging +import sys from db import dbconn from common import get_redis_queue @@ -30,7 +31,7 @@ if __name__=="__main__": formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s') logger.setLevel(logging.INFO) # log to stderr, which is intercepted by circus - sh = logging.StreamHandler() + sh = logging.StreamHandler(sys.stdout) sh.setFormatter(formatter) logger.addHandler(sh) run() |
