Comment 1 for bug 1096974

Revision history for this message
gordon chung (chungg) wrote :

i believe the issue is that both root logger and keystone loggers use the file handler

from python docs (http://docs.python.org/2/library/logging.html), you shouldn't need to attach handler to more than one logger:

Note: If you attach a handler to a logger and one or more of its ancestors, it may emit the same record multiple times. In general, you should not need to attach a handler to more than one logger - if you just attach it to the appropriate logger which is highest in the logger hierarchy, then it will see all events logged by all descendant loggers, provided that their propagate setting is left set to True. A common scenario is to attach handlers only to the root logger, and to let propagation take care of the rest.