Pārlūkot izejas kodu

Removed forced activation of log colorization.

jpellerin 14 gadi atpakaļ
vecāks
revīzija
463c14b474
1 mainītis faili ar 0 papildinājumiem un 1 dzēšanām
  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