summaryrefslogtreecommitdiff
path: root/efl/utils
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2016-08-05 19:43:28 +0300
committerKai Huuhko <kai.huuhko@gmail.com>2016-08-05 19:43:28 +0300
commit78c9fe21afa47e809d142a328e7dd38e191c97e5 (patch)
tree4fc474323b2799efe55c317064bf2c2dae5b2b8c /efl/utils
parent13ea0cbe1d12d64b88f6269a81c07fcc22fcbe3b (diff)
Revert "Remove NullHandler from C library logger"
This reverts commit bc8bac1f1ac7554ce8ad8e5e3c9858cb3c5f378e.
Diffstat (limited to 'efl/utils')
-rw-r--r--efl/utils/logger.pyx4
1 files changed, 2 insertions, 2 deletions
diff --git a/efl/utils/logger.pyx b/efl/utils/logger.pyx
index 5e0a20a..7765e21 100644
--- a/efl/utils/logger.pyx
+++ b/efl/utils/logger.pyx
@@ -112,8 +112,8 @@ cdef object add_logger(object name):
112 log.propagate = True 112 log.propagate = True
113 log.setLevel(logging.WARNING) 113 log.setLevel(logging.WARNING)
114 114
115 #if PY_VERSION_HEX >= 0x02070000: 115 if PY_VERSION_HEX >= 0x02070000:
116 # log.addHandler(logging.NullHandler()) 116 log.addHandler(logging.NullHandler())
117 117
118 logging.setLoggerClass(logging.Logger) 118 logging.setLoggerClass(logging.Logger)
119 119