piker/piker
Gud Boi 42109086d3 Enable console via `.clearing._ems.open_brokerd_dialog()`
Enable console logs for both `.clearing` and `.accounting` in
`open_brokerd_dialog()` and pass `loglevel` to all broker-backend
trade-dialog endpoints. This ensures all `open_trade_dialog()` will
receive the same level passed to the EMS, including the paper engine.

Deats,
- add `loglevel` param to `mk_paper_ep()` closure.
- pass `loglevel=loglevel` to all trade endpoint `open_context()`
  calls and `mk_paper_ep()` invocations.
- change default `loglevel` in `open_ems()` from `'error'` to
  `'warning'`.
- add `get_console_log()` calls for `'clearing'` and
  `'piker.accounting'` at top of `open_brokerd_dialog()` to ensure those
  dependent subsystems are console enabled given they're namely used by
  the `brokerd` trade-dialog ep tasks.

(this commit msg was generated in some part by [`claude-code`][claude-code-gh])
[claude-code-gh]: https://github.com/anthropics/claude-code
2026-02-11 16:56:09 -05:00
..
accounting Use `__name__` for loggers across most sub-mods 2026-02-11 16:48:12 -05:00
brokers Use `__name__` for loggers across most sub-mods 2026-02-11 16:48:12 -05:00
clearing Enable console via `.clearing._ems.open_brokerd_dialog()` 2026-02-11 16:56:09 -05:00
cli Use `__name__` for loggers across `.ib` sub-mods 2026-02-09 19:25:20 -05:00
data Use `__name__` for loggers across most sub-mods 2026-02-11 16:48:12 -05:00
fsp .fsp._engine: enable console logging in `cascade()` 2026-02-04 19:20:19 -05:00
service Use `__name__` for loggers across most sub-mods 2026-02-11 16:48:12 -05:00
storage Add info log for shm processing in `ldshm` CLI cmd 2026-02-01 19:44:28 -05:00
testing Pass a config `tmp_dir: Path` to the runtime when testing 2023-03-09 15:37:43 -05:00
toolz Delegate `.toolz.open_crash_handler()` to `tractor.devx` 2024-01-16 10:26:38 -05:00
tsp Use `__name__` for loggers across most sub-mods 2026-02-11 16:48:12 -05:00
ui Add order-cancel debugging and multiline kbd logs 2026-02-04 18:52:47 -05:00
watchlists Add license headers to pertinent files 2020-11-06 12:23:14 -05:00
__init__.py Start `piker.service` sub-package 2023-03-09 15:37:42 -05:00
_cacheables.py Move `._cacheables.open_cached_client()` into `.brokers` pkg mod 2023-06-27 13:41:47 -04:00
calc.py Lul, adhere to returning `str`s in `humanize()` 2022-01-25 07:57:01 -05:00
config.py `.config.get_app_dir()`: link to `click`'s orig impl on GH 2026-01-06 19:33:23 -05:00
log.py Auto-enable `tractor` logging when runtime active 2026-02-06 22:42:02 -05:00
types.py Point `.types.Struct` to `tractor.msg.pretty_struct` 2026-02-04 15:57:18 -05:00