Skip to content

Commit

Permalink
Raised the level of logging for celery.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmccully committed Aug 11, 2023
1 parent 08028a5 commit c90e399
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion banzai/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def run_realtime_pipeline():
def start_listener(runtime_context):
# Need to keep the amqp logger level at least as high as INFO,
# or else it send heartbeat check messages every second
logging.getLogger('amqp').setLevel(max(logging.getLogger().level, getattr(logging, 'INFO')))
logging.getLogger('amqp').setLevel(logging.WARNING)
logger.info('Starting pipeline listener')

fits_exchange = Exchange(runtime_context.FITS_EXCHANGE, type='fanout')
Expand Down

0 comments on commit c90e399

Please sign in to comment.