Skip to content

Commit bc31baa

Browse files
committed
libtmux(fix[logging]): remove stack_info from query_list DEBUG logs
why: stack_info=True dumps a full stack trace on routine lookup misses, which is noisy and unnecessary — exc_info=True already captures the exception context. what: - Remove stack_info=True from keygetter DEBUG log - Remove stack_info=True from parse_lookup DEBUG log
1 parent 6041e66 commit bc31baa

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/libtmux/_internal/query_list.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ def keygetter(
109109
"key lookup failed for path: %s",
110110
path,
111111
exc_info=True,
112-
stack_info=True,
113112
)
114113
return None
115114

@@ -154,7 +153,6 @@ def parse_lookup(
154153
"lookup parsing failed for path: %s",
155154
path,
156155
exc_info=True,
157-
stack_info=True,
158156
)
159157
return None
160158

0 commit comments

Comments
 (0)