From 34b26862ad6c21e1249b177334b9749441cfc650 Mon Sep 17 00:00:00 2001
From: Tyler Goodlet <jgbt@protonmail.com>
Date: Thu, 18 Apr 2024 15:18:29 -0400
Subject: [PATCH] TOSQUASH 77a15eb use `DebugStatus` in `._rpc`

---
 tractor/_rpc.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tractor/_rpc.py b/tractor/_rpc.py
index 7e259c1e..5970a101 100644
--- a/tractor/_rpc.py
+++ b/tractor/_rpc.py
@@ -810,7 +810,7 @@ async def process_messages(
     # should use it?
     # https://github.com/python-trio/trio/issues/467
     log.runtime(
-        'Entering IPC msg loop:\n'
+        'Entering RPC msg loop:\n'
         f'peer: {chan.uid}\n'
         f'|_{chan}\n'
     )
@@ -872,7 +872,7 @@ async def process_messages(
                         # XXX NOTE XXX don't start entire actor
                         # runtime cancellation if this actor is
                         # currently in debug mode!
-                        pdb_complete: trio.Event|None = _debug.Lock.local_pdb_complete
+                        pdb_complete: trio.Event|None = _debug.DebugStatus.repl_release
                         if pdb_complete:
                             await pdb_complete.wait()
 
@@ -1069,7 +1069,7 @@ async def process_messages(
                         log.exception(message)
                         raise RuntimeError(message)
 
-                log.runtime(
+                log.transport(
                     'Waiting on next IPC msg from\n'
                     f'peer: {chan.uid}\n'
                     f'|_{chan}\n'