Proxy `marketstore` container log level to our own

l1_precision_fix
Tyler Goodlet 2022-03-01 12:34:16 -05:00
parent 706c8085f2
commit 8003878248
1 changed files with 2 additions and 1 deletions

View File

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