Package pyanaconda :: Module anaconda_log :: Class AnacondaLog
[hide private]
[frames] | no frames]

Class AnacondaLog

source code

Instance Methods [hide private]
 
__init__(self) source code
 
addFileHandler(self, file, addToLogger, minLevel=DEFAULT_TTY_LEVEL, fmtStr=ENTRY_FORMAT, autoLevel=False) source code
 
forwardToSyslog(self, logger)
Forward everything that goes in the logger to the syslog daemon.
source code
 
showwarning(self, message, category, filename, lineno, file=sys.stderr, line=None)
Make sure messages sent through python's warnings module get logged.
source code
 
updateRemote(self, remote_syslog)
Updates the location of remote rsyslogd to forward to.
source code
Method Details [hide private]

showwarning(self, message, category, filename, lineno, file=sys.stderr, line=None)

source code 

Make sure messages sent through python's warnings module get logged.

The warnings mechanism is used by some libraries we use, notably pykickstart.

updateRemote(self, remote_syslog)

source code 

Updates the location of remote rsyslogd to forward to.

Requires updating rsyslogd config and sending SIGHUP to the daemon.