Skip to content

Instantly share code, notes, and snippets.

View nikitka's full-sized avatar
:shipit:

nikita kozlovsky nikitka

:shipit:
View GitHub Profile
diff --git a/celery/log.py b/celery/log.py
index b8e3065..5c76e6d 100644
--- a/celery/log.py
+++ b/celery/log.py
@@ -63,12 +63,11 @@ def setup_logger(loglevel=conf.CELERYD_LOG_LEVEL, logfile=None,
if hasattr(logfile, "write"):
handler = logging.StreamHandler
loghandler = handler(logfile)
- formatter = logging.Formatter(format)
- loghandler.setFormatter(formatter)