home · contact · privacy
Keep logging relevant only to debugging in debugging windows only.
authorChristian Heller <c.heller@plomlompom.de>
Fri, 19 Sep 2025 19:33:07 +0000 (21:33 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Fri, 19 Sep 2025 19:33:07 +0000 (21:33 +0200)
ircplom/client_tui.py
test.txt

index b7086897f76d08e01202921f8eeb4617cb6d52c6..5c0d942e1fdacf949ffef6cdd8bbc55caddd2ca9 100644 (file)
@@ -212,7 +212,7 @@ class _QueryWindow(_ChatWindow):
 
 
 class _UpdatingChannel(_UpdatingNode, Channel):
-    log_scopes = {'': LogScope.CHAT}
+    log_scopes = {'user_ids': LogScope.CHAT, 'topic': LogScope.CHAT}
     user_ids: set[str]
     exits: _UpdatingDict[str]
 
index 3570853574fa5eabcf33940a5c397895eb687929..2573a6339855763debec07ab7b8978bffc85e61a 100644 (file)
--- a/test.txt
+++ b/test.txt
 2 < :foo!~foobarbaz@baz.bar.foo JOIN #test
 1,2 $ users:me:user set to: [~foobarbaz]
 2 < :foo.bar.baz 332 foo #test :foo bar baz
-4 $ channels:#test:exits cleared
+1,2 $ channels:#test:exits cleared
 2 < :foo.bar.baz 333 foo #test bar!~bar@bar.bar 1234567890
 4 $ bar!~bar@bar.bar set topic: foo bar baz
 2 < :foo.bar.baz 353 foo @ #test :foo @bar