Browse Source

Removed forced activation of log colorization.

jpellerin 14 năm trước cách đây
mục cha
commit
463c14b474
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  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