placeholder to now point to the logger.
"""
rv = None
+ if isinstance(name, unicode):
+ name = name.encode('utf-8')
_acquireLock()
try:
if name in self.loggerDict:
#avoid disabling child loggers of explicitly
#named loggers. With a sorted list it is easier
#to find the child loggers.
- existing.sort(key=_encoded)
+ existing.sort()
#We'll keep the list of existing loggers
#which are children of named loggers here...
child_loggers = []
#avoid disabling child loggers of explicitly
#named loggers. With a sorted list it is easier
#to find the child loggers.
- existing.sort(key=_encoded)
+ existing.sort()
#We'll keep the list of existing loggers
#which are children of named loggers here...
child_loggers = []
#now set up the new ones...
loggers = config.get('loggers', EMPTY_DICT)
for name in loggers:
+ name = _encoded(name)
if name in existing:
i = existing.index(name)
prefixed = name + "."