From 7a89b59a3f62dc9d521e70f754169d1f6299ff1c Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 11 Jun 2024 20:45:41 -0400 Subject: [PATCH] Bleh, make `log.devx()` level less then cancel but > `.runtime()` --- tractor/log.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tractor/log.py b/tractor/log.py index 41a910e..edb058e 100644 --- a/tractor/log.py +++ b/tractor/log.py @@ -57,8 +57,8 @@ DATE_FORMAT = '%b %d %H:%M:%S' CUSTOM_LEVELS: dict[str, int] = { 'TRANSPORT': 5, 'RUNTIME': 15, - 'CANCEL': 16, 'DEVX': 17, + 'CANCEL': 18, 'PDB': 500, } STD_PALETTE = { @@ -111,7 +111,7 @@ class StackLevelAdapter(LoggerAdapter): ''' return self.log( - level=16, + level=22, msg=msg, # stacklevel=4, )