Преглед изворни кода

Merge pull request #1036 from acdha/kinder-gentler-logging

Decrease log level for consumer connection retries
Ask Solem Hoel пре 12 година
родитељ
комит
08f7c42a4c
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      celery/worker/consumer.py

+ 1 - 1
celery/worker/consumer.py

@@ -178,7 +178,7 @@ class Consumer(object):
             except self.connection_errors + self.channel_errors:
                 maybe_shutdown()
                 if ns.state != CLOSE and self.connection:
-                    error(CONNECTION_RETRY, exc_info=True)
+                    warn(CONNECTION_RETRY, exc_info=True)
                     ns.restart(self)
 
     def shutdown(self):