From 669559380df2b2cff596546375b864577ba603d9 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Wed, 30 Jun 2021 13:47:07 -0400 Subject: [PATCH] Change trace to transport level --- tractor/_actor.py | 4 ++-- tractor/_debug.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tractor/_actor.py b/tractor/_actor.py index ab7a321..e3f4243 100644 --- a/tractor/_actor.py +++ b/tractor/_actor.py @@ -466,7 +466,7 @@ class Actor: f"already have channel(s) for {uid}:{chans}?" ) - log.trace(f"Registered {chan} for {uid}") # type: ignore + log.runtime(f"Registered {chan} for {uid}") # type: ignore # append new channel self._peers[uid].append(chan) @@ -640,7 +640,7 @@ class Actor: break - log.trace( # type: ignore + log.transport( # type: ignore f"Received msg {msg} from {chan.uid}") cid = msg.get('cid') diff --git a/tractor/_debug.py b/tractor/_debug.py index ae0b502..93356ee 100644 --- a/tractor/_debug.py +++ b/tractor/_debug.py @@ -110,7 +110,7 @@ class PdbwTeardown(pdbpp.Pdb): # async with aclosing(async_stdin): # async for msg in async_stdin: -# log.trace(f"Stdin input:\n{msg}") +# log.runtime(f"Stdin input:\n{msg}") # # encode to bytes # bmsg = str.encode(msg)