Lines Matching full:existing
178 def _handle_existing_loggers(existing, child_loggers, disable_existing): argument
186 what was intended by the user. Also, allow existing loggers to NOT be
190 for log in existing:
224 #we don't want to lose the existing loggers,
226 #existing is set to contain all existing loggers,
229 #what's left in existing is the set of loggers
232 existing = list(root.manager.loggerDict.keys())
237 existing.sort()
238 #We'll keep the list of existing loggers
247 if qn in existing:
248 i = existing.index(qn) + 1 # start with the entry after qn
251 num_existing = len(existing)
253 if existing[i][:pflen] == prefixed:
254 child_loggers.append(existing[i])
256 existing.remove(qn)
276 #for log in existing:
284 _handle_existing_loggers(existing, child_loggers, disable_existing)
288 """Clear and close existing handlers"""
626 #we don't want to lose the existing loggers,
628 #existing is set to contain all existing loggers,
631 #what's left in existing is the set of loggers
635 existing = list(root.manager.loggerDict.keys())
640 existing.sort()
641 #We'll keep the list of existing loggers
647 if name in existing:
648 i = existing.index(name) + 1 # look after name
651 num_existing = len(existing)
653 if existing[i][:pflen] == prefixed:
654 child_loggers.append(existing[i])
656 existing.remove(name)
668 #for log in existing:
676 _handle_existing_loggers(existing, child_loggers,
907 #Remove any existing handlers