Trees | Indices | Help |
|
---|
|
object --+ | logging.Filterer --+ | ThreadFilter
Filter to disallow log records from the current thread.
Within pysys, logging to standard output is only enabled from the main thread of execution (that in which the test runner class executes). When running with more than one test worker thread, logging to file of the test run log is performed through a file handler, which only allows logging from that thread. To disable either of these, use an instance of this class from the thread in question, adding to the root logger via log.addFilter(ThreadFilter()).
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
Overrides logging.Filterer.__init__
|
Implementation of logging.Filterer.filter to block from the creating thread.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Jul 05 17:52:37 2018 | http://epydoc.sourceforge.net |