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:
parent
0916eae9ff
commit
bc8bac1f1a
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue