mirror of
https://github.com/jlu5/PyLink.git
synced 2025-01-26 20:24:34 +01:00
PyLinkNCWUtils: stop logging the entirety of prefixmodes
This creates a lot of spam on larger channels.
This commit is contained in:
parent
60b7894cd6
commit
12d1412cba
@ -911,14 +911,11 @@ class PyLinkNetworkCoreWithUtils(PyLinkNetworkCore):
|
|||||||
# for ops).
|
# for ops).
|
||||||
for pmode, pmodelist in prefixmodes.items():
|
for pmode, pmodelist in prefixmodes.items():
|
||||||
if pmode in supported_modes and real_mode[0] == supported_modes[pmode]:
|
if pmode in supported_modes and real_mode[0] == supported_modes[pmode]:
|
||||||
log.debug('(%s) Initial prefixmodes list (%s): %s', self.name, pmode, pmodelist)
|
|
||||||
if mode[0][0] == '+':
|
if mode[0][0] == '+':
|
||||||
pmodelist.add(mode[1])
|
pmodelist.add(mode[1])
|
||||||
else:
|
else:
|
||||||
pmodelist.discard(mode[1])
|
pmodelist.discard(mode[1])
|
||||||
|
|
||||||
log.debug('(%s) Final prefixmodes list (%s): %s', self.name, pmode, pmodelist)
|
|
||||||
|
|
||||||
if real_mode[0] in self.prefixmodes:
|
if real_mode[0] in self.prefixmodes:
|
||||||
# Don't add prefix modes to Channel.modes; they belong in the
|
# Don't add prefix modes to Channel.modes; they belong in the
|
||||||
# prefixmodes mapping handled above.
|
# prefixmodes mapping handled above.
|
||||||
|
Loading…
Reference in New Issue
Block a user