This commit is contained in:
Jeremy Fincher 2004-10-24 06:45:36 +00:00
parent 83d49315df
commit ffd4957862

View File

@ -391,7 +391,7 @@ _handler.setLevel(-1)
class PluginLogFilter(logging.Filter):
def filter(self, record):
if conf.supybot.log.plugins.individualLogfiles():
if record.msg.name.startswith('supybot.plugins'):
if record.name.startswith('supybot.plugins'):
return False
return True
_handler.addFilter(PluginLogFilter())