Move WHO and NAMES logging to trace

This commit is contained in:
Mark Veidemanis 2020-10-31 16:52:00 +00:00
parent 9e17223258
commit b0eaa7fd47
1 changed files with 4 additions and 4 deletions

View File

@ -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)