Proxy `marketstore` container log level to our own
parent
706c8085f2
commit
8003878248
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue