This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |