Lines Matching full:existing
163 def _handle_existing_loggers(existing, child_loggers, disable_existing): argument
171 what was intended by the user. Also, allow existing loggers to NOT be
175 for log in existing:
209 #we don't want to lose the existing loggers,
211 #existing is set to contain all existing loggers,
214 #what's left in existing is the set of loggers
217 existing = list(root.manager.loggerDict.keys())
222 existing.sort()
223 #We'll keep the list of existing loggers
232 if qn in existing:
233 i = existing.index(qn) + 1 # start with the entry after qn
236 num_existing = len(existing)
238 if existing[i][:pflen] == prefixed:
239 child_loggers.append(existing[i])
241 existing.remove(qn)
261 #for log in existing:
269 _handle_existing_loggers(existing, child_loggers, disable_existing)
273 """Clear and close existing handlers"""
587 #we don't want to lose the existing loggers,
589 #existing is set to contain all existing loggers,
592 #what's left in existing is the set of loggers
596 existing = list(root.manager.loggerDict.keys())
601 existing.sort()
602 #We'll keep the list of existing loggers
608 if name in existing:
609 i = existing.index(name) + 1 # look after name
612 num_existing = len(existing)
614 if existing[i][:pflen] == prefixed:
615 child_loggers.append(existing[i])
617 existing.remove(name)
629 #for log in existing:
637 _handle_existing_loggers(existing, child_loggers,
783 #Remove any existing handlers