mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Fixed bug #1052821.
This commit is contained in:
parent
83d49315df
commit
ffd4957862
@ -391,7 +391,7 @@ _handler.setLevel(-1)
|
|||||||
class PluginLogFilter(logging.Filter):
|
class PluginLogFilter(logging.Filter):
|
||||||
def filter(self, record):
|
def filter(self, record):
|
||||||
if conf.supybot.log.plugins.individualLogfiles():
|
if conf.supybot.log.plugins.individualLogfiles():
|
||||||
if record.msg.name.startswith('supybot.plugins'):
|
if record.name.startswith('supybot.plugins'):
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
_handler.addFilter(PluginLogFilter())
|
_handler.addFilter(PluginLogFilter())
|
||||||
|
Loading…
Reference in New Issue
Block a user