Trees | Indices | Help |
|
---|
|
Log handler that doesn't fallback to stderr.
When an error occurs while writing on the logfile, logging.FileHandler tries to log on stderr. This doesn't work in ganeti since stderr is redirected to the logfile. This class avoids failures reporting errors to /dev/console.
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from |
|
Open the specified file and use it as the stream for logging. Also open /dev/console to report errors while logging.
|
Handle errors which occur during an emit() call. Try to handle errors with FileHandler method, if it fails write to /dev/console.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Dec 20 13:27:22 2010 | http://epydoc.sourceforge.net |