瀏覽代碼

Removed forced activation of log colorization.

jpellerin 14 年之前
父節點
當前提交
463c14b474
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      celery/apps/worker.py

+ 0 - 1
celery/apps/worker.py

@@ -50,7 +50,6 @@ class Worker(object):
                             multiprocessing.cpu_count())
         self.loglevel = loglevel or app.conf.CELERYD_LOG_LEVEL
         self.logfile = logfile or app.conf.CELERYD_LOG_FILE
-        app.conf.CELERYD_LOG_COLOR = not self.logfile and isatty(sys.stderr)
 
         self.hostname = hostname or socket.gethostname()
         self.discard = discard