From b0eaa7fd472d1c7020701a65a006a7e1824fa158 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Sat, 31 Oct 2020 16:52:00 +0000 Subject: [PATCH] Move WHO and NAMES logging to trace --- modules/userinfo.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/userinfo.py b/modules/userinfo.py index fef0faa..a9104da 100644 --- a/modules/userinfo.py +++ b/modules/userinfo.py @@ -3,7 +3,7 @@ from string import digits import main from utils.logging.log import * -from utils.logging.debug import debug +from utils.logging.debug import debug, trace from utils.parsing import parsen def getWhoSingle(name, query): @@ -84,7 +84,7 @@ def _initialUsers(name, channel, users): p.execute() def initialUsers(name, channel, users): - debug("Initialising WHO records for %s on %s" % (channel, name)) + trace("Initialising WHO records for %s on %s" % (channel, name)) d = deferToThread(_initialUsers, name, channel, users) #d.addCallback(testCallback) @@ -99,7 +99,7 @@ def _initialNames(name, channel, names): p.execute() def initialNames(name, channel, names): - debug("Initialising NAMES records for %s on %s" % (channel, name)) + trace("Initialising NAMES records for %s on %s" % (channel, name)) d = deferToThread(_initialNames, name, channel, names) #d.addCallback(testCallback) @@ -235,6 +235,6 @@ def _delChannels(net, channels): p.execute() def delChannels(net, channels): # we have left a channel - debug("Purging channel %s for %s" % (", ".join(channels), net)) + trace("Purging channel %s for %s" % (", ".join(channels), net)) d = deferToThread(_delChannels, net, channels) #d.addCallback(testCallback)