From c439e99f8a22e56a7a768d12dddfcee9ca0731db Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 1 Mar 2022 12:34:16 -0500 Subject: [PATCH] Proxy `marketstore` container log level to our own --- piker/data/_ahab.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/piker/data/_ahab.py b/piker/data/_ahab.py index 651013f4..b844d25b 100644 --- a/piker/data/_ahab.py +++ b/piker/data/_ahab.py @@ -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: