Skip to content

Commit e7e7919

Browse files
committed
Ensure paper engine logger is piker.clearing instance..
1 parent cdf9105 commit e7e7919

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

piker/clearing/_paper_engine.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
from ..accounting import unpack_fqme
5656
from ._util import (
5757
log, # sub-sys logger
58+
get_console_log,
5859
)
5960
from ._messages import (
6061
BrokerdCancel,
@@ -536,7 +537,8 @@ async def open_trade_dialog(
536537

537538
) -> None:
538539

539-
tractor.log.get_console_log(loglevel)
540+
# enable piker.clearing console log for *this* subactor
541+
get_console_log(loglevel)
540542

541543
ppt: PpTable
542544
ledger: TransactionLedger

0 commit comments

Comments
 (0)