Proxy `marketstore` container log level to our own

marketstore_backup
Tyler Goodlet 2022-03-01 12:34:16 -05:00
parent 85658a165c
commit 46ad8557cd
1 changed files with 2 additions and 1 deletions

View File

@ -242,11 +242,12 @@ async def open_marketstore(
raise RuntimeError(entry) raise RuntimeError(entry)
msg = record['msg'] msg = record['msg']
level = record['level']
if msg and entry not in seen_so_far: if msg and entry not in seen_so_far:
seen_so_far.add(entry) seen_so_far.add(entry)
if bp_on_msg: if bp_on_msg:
await tractor.breakpoint() await tractor.breakpoint()
log.info(f'{msg}') getattr(log, level)(f'{msg}')
# if "launching tcp listener for all services..." in msg: # if "launching tcp listener for all services..." in msg:
if match in msg: if match in msg: