Lines Matching full:existing
173 def _handle_existing_loggers(existing, child_loggers, disable_existing): argument
181 what was intended by the user. Also, allow existing loggers to NOT be
185 for log in existing:
219 #we don't want to lose the existing loggers,
221 #existing is set to contain all existing loggers,
224 #what's left in existing is the set of loggers
227 existing = list(root.manager.loggerDict.keys())
232 existing.sort()
233 #We'll keep the list of existing loggers
242 if qn in existing:
243 i = existing.index(qn) + 1 # start with the entry after qn
246 num_existing = len(existing)
248 if existing[i][:pflen] == prefixed:
249 child_loggers.append(existing[i])
251 existing.remove(qn)
271 #for log in existing:
279 _handle_existing_loggers(existing, child_loggers, disable_existing)
283 """Clear and close existing handlers"""
595 #we don't want to lose the existing loggers,
597 #existing is set to contain all existing loggers,
600 #what's left in existing is the set of loggers
604 existing = list(root.manager.loggerDict.keys())
609 existing.sort()
610 #We'll keep the list of existing loggers
616 if name in existing:
617 i = existing.index(name) + 1 # look after name
620 num_existing = len(existing)
622 if existing[i][:pflen] == prefixed:
623 child_loggers.append(existing[i])
625 existing.remove(name)
637 #for log in existing:
645 _handle_existing_loggers(existing, child_loggers,
795 #Remove any existing handlers