> /usr/lib/python3.6/logging/__init__.py(1454)handle()
-> self.callHandlers(record)
(Pdb) s
--Call--
> /usr/lib/python3.6/logging/__init__.py(1500)callHandlers()
-> def callHandlers(self, record):
(Pdb) n
> /usr/lib/python3.6/logging/__init__.py(1510)callHandlers()
-> c = self
(Pdb) l
1505 logger hierarchy. If no handler was found, output a one-off error
1506 message to sys.stderr. Stop searching up the hierarchy whenever a
1507 logger with the "propagate" attribute set to zero is found - that
1508 will be the last logger whose handlers are called.
1509 """
1510 -> c = self
1511 found = 0
1512 while c:
1513 for hdlr in c.handlers:
1514 found = found + 1
1515 if record.levelno >= hdlr.level:
(Pdb) n
> /usr/lib/python3.6/logging/__init__.py(1511)callHandlers()
-> found = 0
(Pdb) n
> /usr/lib/python3.6/logging/__init__.py(1512)callHandlers()
-> while c:
(Pdb) n
> /usr/lib/python3.6/logging/__init__.py(1513)callHandlers()
-> for hdlr in c.handlers:
(Pdb) c.handlers
<HANGS HERE>
Ultimately, things hang when the logger attempts to access log handlers:
(Pdb) where bin/privsep- helper( 10)<module> () helper_ main()) lib/python3/ dist-packages/ oslo_privsep/ daemon. py(558) helper_ main() lib/python3/ dist-packages/ oslo_privsep/ daemon. py(370) run() lib/python3/ dist-packages/ oslo_privsep/ daemon. py(512) loop() add_done_ callback( self._create_ done_callback( msgid)) lib/python3. 6/concurrent/ futures/ _base.py( 403)add_ done_callback( ) lib/python3/ dist-packages/ oslo_privsep/ daemon. py(476) _call_back( ) lib/python3. 6/logging/ __init_ _.py(1630) debug() lib/python3. 6/logging/ __init_ _.py(1674) log() log(level, msg, *args, **kwargs) lib/python3. 6/logging/ __init_ _.py(1374) log() lib/python3. 6/logging/ __init_ _.py(1444) _log() lib/python3. 6/logging/ __init_ _.py(1454) handle( ) rs(record) python3. 6/logging/ __init_ _.py(1513) callHandlers( )
/usr/
-> sys.exit(
/usr/
-> Daemon(channel, context).run()
/usr/
-> self.loop()
/usr/
-> future.
/usr/
-> fn(self)
/usr/
-> {'msgid': msgid, 'reply': reply})
/usr/
-> self.log(DEBUG, msg, *args, **kwargs)
/usr/
-> self.logger.
/usr/
-> self._log(level, msg, args, **kwargs)
/usr/
-> self.handle(record)
/usr/
-> self.callHandle
> /usr/lib/
-> for hdlr in c.handlers:
> /usr/lib/ python3. 6/logging/ __init_ _.py(1454) handle( ) rs(record) python3. 6/logging/ __init_ _.py(1500) callHandlers( ) python3. 6/logging/ __init_ _.py(1510) callHandlers( ) python3. 6/logging/ __init_ _.py(1511) callHandlers( ) python3. 6/logging/ __init_ _.py(1512) callHandlers( ) python3. 6/logging/ __init_ _.py(1513) callHandlers( )
-> self.callHandle
(Pdb) s
--Call--
> /usr/lib/
-> def callHandlers(self, record):
(Pdb) n
> /usr/lib/
-> c = self
(Pdb) l
1505 logger hierarchy. If no handler was found, output a one-off error
1506 message to sys.stderr. Stop searching up the hierarchy whenever a
1507 logger with the "propagate" attribute set to zero is found - that
1508 will be the last logger whose handlers are called.
1509 """
1510 -> c = self
1511 found = 0
1512 while c:
1513 for hdlr in c.handlers:
1514 found = found + 1
1515 if record.levelno >= hdlr.level:
(Pdb) n
> /usr/lib/
-> found = 0
(Pdb) n
> /usr/lib/
-> while c:
(Pdb) n
> /usr/lib/
-> for hdlr in c.handlers:
(Pdb) c.handlers
<HANGS HERE>