From cca3206fd6d924c29b5d30c5535dcf9ed47e7b5e Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 30 Apr 2024 13:00:03 -0400 Subject: [PATCH] Use `log.devx()` for `stackscope` messages --- tractor/devx/_stackscope.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tractor/devx/_stackscope.py b/tractor/devx/_stackscope.py index 38c7af1..e8e97d1 100644 --- a/tractor/devx/_stackscope.py +++ b/tractor/devx/_stackscope.py @@ -65,7 +65,7 @@ def dump_task_tree() -> None: level='cancel', ) actor: Actor = _state.current_actor() - log.pdb( + log.devx( f'Dumping `stackscope` tree for actor\n' f'{actor.name}: {actor}\n' f' |_{mp.current_process()}\n\n' @@ -104,7 +104,7 @@ def signal_handler( subproc: ProcessType subactor: Actor for subactor, subproc, _ in an._children.values(): - log.pdb( + log.devx( f'Relaying `SIGUSR1`[{sig}] to sub-actor\n' f'{subactor}\n' f' |_{subproc}\n'