diff options
| -rw-r--r-- | bitbake/lib/prserv/serv.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/prserv/serv.py b/bitbake/lib/prserv/serv.py index 781f0545d6..6d0c7188ee 100644 --- a/bitbake/lib/prserv/serv.py +++ b/bitbake/lib/prserv/serv.py | |||
| @@ -146,7 +146,7 @@ class PRServer(SimpleXMLRPCServer): | |||
| 146 | # Clear out all log handlers prior to the fork() to avoid calling | 146 | # Clear out all log handlers prior to the fork() to avoid calling |
| 147 | # event handlers not part of the PRserver | 147 | # event handlers not part of the PRserver |
| 148 | for logger_iter in logging.Logger.manager.loggerDict.keys(): | 148 | for logger_iter in logging.Logger.manager.loggerDict.keys(): |
| 149 | logger_iter.handlers = [] | 149 | logging.getLogger(logger_iter).handlers = [] |
| 150 | 150 | ||
| 151 | # Ensure logging makes it to the logfile | 151 | # Ensure logging makes it to the logfile |
| 152 | streamhandler = logging.StreamHandler() | 152 | streamhandler = logging.StreamHandler() |
