self.syslog.addHandler(logging.handlers.SysLogHandler(address = '/dev/log',
facility = logging.handlers.SysLogHandler.LOG_LOCAL0))
def _log (self, lvl, what):
thestr = "%s[%d]: %s" % ("tuerd", os.getpid(), what)
# console log
self.syslog.addHandler(logging.handlers.SysLogHandler(address = '/dev/log',
facility = logging.handlers.SysLogHandler.LOG_LOCAL0))
def _log (self, lvl, what):
thestr = "%s[%d]: %s" % ("tuerd", os.getpid(), what)
# console log