Remove NullHandler from C library logger

This makes py-efl spew out an error if your app hasn't been setup to handle the logging.

If you don't like this, complain to Dave.
This commit is contained in:
Kai Huuhko 2016-08-04 14:28:23 +03:00
parent 0916eae9ff
commit bc8bac1f1a
1 changed files with 2 additions and 2 deletions

View File

@ -110,8 +110,8 @@ cdef object add_logger(object name):
log.propagate = True
log.setLevel(logging.WARNING)
if PY_VERSION_HEX >= 0x02070000:
log.addHandler(logging.NullHandler())
#if PY_VERSION_HEX >= 0x02070000:
# log.addHandler(logging.NullHandler())
logging.setLoggerClass(logging.Logger)