From 85a1b858b42421118fb17dd9961b506dcf78ca8c Mon Sep 17 00:00:00 2001 From: Guillermo Rodriguez Date: Sat, 25 Feb 2023 20:56:25 -0300 Subject: [PATCH] Fix logging on emsd --- piker/ui/_display.py | 3 ++- piker/ui/order_mode.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/piker/ui/_display.py b/piker/ui/_display.py index 998eea8b..c934f089 100644 --- a/piker/ui/_display.py +++ b/piker/ui/_display.py @@ -1437,7 +1437,8 @@ async def display_symbol_data( feed, godwidget, fqsns[0], - order_mode_started + order_mode_started, + loglevel=loglevel ) as mode ): diff --git a/piker/ui/order_mode.py b/piker/ui/order_mode.py index e339739e..4a194a79 100644 --- a/piker/ui/order_mode.py +++ b/piker/ui/order_mode.py @@ -658,6 +658,7 @@ async def open_order_mode( godw: GodWidget, fqsn: str, started: trio.Event, + loglevel: str = 'info' ) -> None: '''Activate chart-trader order mode loop: @@ -685,7 +686,7 @@ async def open_order_mode( # spawn EMS actor-service async with ( - open_ems(fqsn) as ( + open_ems(fqsn, loglevel=loglevel) as ( book, trades_stream, position_msgs,