Author oneofthose
Recipients oneofthose
Date 2018-08-06.20:41:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In Python 3.6.3 I can do:

import logging
logger = logging.getLogger()
logger.setLevel(logging.INFO)"this does not work")"PARTY")"this works")

And it outputs:

INFO:root:this works

The line"PARTY") 
seems to add a handler which makes the last line work. This is very confusing behavior as it is not obvious that a call to "" mutates the state of the logging subsystem and affects subsequent logging calls.
Date User Action Args
2018-08-06 20:41:27oneofthosesetrecipients: + oneofthose
2018-08-06 20:41:27oneofthosesetmessageid: <>
2018-08-06 20:41:27oneofthoselinkissue34350 messages
2018-08-06 20:41:27oneofthosecreate