Home | History | Annotate | Download | only in logging

Lines Matching full:existing

164 def _handle_existing_loggers(existing, child_loggers, disable_existing):
172 what was intended by the user. Also, allow existing loggers to NOT be
176 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)
580 #we don't want to lose the existing loggers,
582 #existing is set to contain all existing loggers,
585 #what's left in existing is the set of loggers
589 existing = list(root.manager.loggerDict.keys())
594 existing.sort()
595 #We'll keep the list of existing loggers
601 if name in existing:
602 i = existing.index(name) + 1 # look after name
605 num_existing = len(existing)
607 if existing[i][:pflen] == prefixed:
608 child_loggers.append(existing[i])
610 existing.remove(name)
622 #for log in existing:
630 _handle_existing_loggers(existing, child_loggers,
768 #Remove any existing handlers