Skip to content

Commit 16d8c81

Browse files
authored
Merge pull request #108 from cloudblue/feautre/LITE-26358_lower-log-leve
LITE-26358 lower the logging level to warning when consumer reconnects to rabbit
2 parents 96918c2 + 7ea17ce commit 16d8c81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dj_cqrs/transport/rabbit_mq.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def consume(cls, cqrs_ids=None):
7373
exceptions.ChannelError,
7474
exceptions.ReentrancyError,
7575
gaierror):
76-
logger.error('AMQP connection error. Reconnecting...', exc_info=True)
76+
logger.warning('AMQP connection error. Reconnecting...', exc_info=True)
7777
time.sleep(cls.CONSUMER_RETRY_TIMEOUT)
7878
finally:
7979
if connection and not connection.is_closed:

0 commit comments

Comments
 (0)