Clear and close existing handlers
()
| 285 | |
| 286 | |
| 287 | def _clearExistingHandlers(): |
| 288 | """Clear and close existing handlers""" |
| 289 | logging._handlers.clear() |
| 290 | logging.shutdown(logging._handlerList[:]) |
| 291 | del logging._handlerList[:] |
| 292 | |
| 293 | |
| 294 | IDENTIFIER = re.compile('^[a-z_][a-z0-9_]*$', re.I) |
no test coverage detected
searching dependent graphs…