removed rsyslog queue, updated logger level

Signed-off-by: Jessica Mack <jmack@redhat.com>
This commit is contained in:
Jessica Mack 2023-02-01 15:47:27 -05:00 committed by Hao Liu
parent e7fa730f81
commit 29d222be83
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ class Command(BaseCommand):
for e in conn.events(yield_timeouts=True):
if e is not None:
body = json.loads(e.payload)
logger.warning(f"Cache clear request received. Clearing now, payload: {e.payload}")
logger.info(f"Cache clear request received. Clearing now, payload: {e.payload}")
TaskWorker.run_callable(body)
else:
logger.info('run_clear_cache got timeout')

View File

@ -76,7 +76,7 @@ class Command(BaseCommand):
consumer = None
try:
queues = ['tower_broadcast_all', 'tower_settings_change', 'rsyslog_configurer', get_local_queuename()]
queues = ['tower_broadcast_all', 'tower_settings_change', get_local_queuename()]
consumer = AWXConsumerPG('dispatcher', TaskWorker(), queues, AutoscalePool(min_workers=4))
consumer.run()
except KeyboardInterrupt: