Problems with snappy and python logging on file

Good morning,

I noticed that importing ‘snappy’, and importing ‘logging’, causes logging module not well functioning. More in particular, logging is not able to write a logging file. Do you noticed this problem?

I simply execute:

import snappy
import logging
logging.basicConfig(format=’%(asctime)s %(message)s’, filename=“mylog.log”, datefmt=’%Y/%m/%d %I:%M:%S %p’, level=logging.DEBUG)
logging.debug(“A debug message”)“An info message”)
logging.warning(“A warning message”)

I verified that excluding snappy the logging module works well


Yes this was already reported some time ago.
Please have a look at this thread:

:unamused: sorry, yes that thread helps me