diff options
author | Chris Lumens <clumens@redhat.com> | 2005-08-12 17:02:54 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2005-08-12 17:02:54 +0000 |
commit | ad06ecd663388d31e24ed8a915cbb75c8c09e5e3 (patch) | |
tree | 7ec622b907c6b5ba672512bba993a0e109cfdb18 /syslogd.py | |
parent | be9b1d17b23f3075f12a939cc7d11fe8687edcc9 (diff) | |
download | anaconda-ad06ecd663388d31e24ed8a915cbb75c8c09e5e3.tar.gz anaconda-ad06ecd663388d31e24ed8a915cbb75c8c09e5e3.tar.xz anaconda-ad06ecd663388d31e24ed8a915cbb75c8c09e5e3.zip |
Use new logging system.
Diffstat (limited to 'syslogd.py')
-rw-r--r-- | syslogd.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/syslogd.py b/syslogd.py index f484de05a..5d4a01954 100644 --- a/syslogd.py +++ b/syslogd.py @@ -17,7 +17,9 @@ import sys, os import string from socket import * from select import select -from rhpl.log import log + +import logging +log = logging.getLogger("anaconda") class Syslogd: def goSyslog(self, output, sockName): @@ -88,12 +90,12 @@ class InstSyslog: try: os.kill (self.pid, 15) except OSError, (num, msg): - log("killing syslogd failed: %s %s" %(num, msg)) + log.error("killing syslogd failed: %s %s" %(num, msg)) try: os.waitpid (self.pid, 0) except OSError, (num, msg): - log("exception from waitpid in syslogd::stop: %s %s" % (num, msg)) + log.error("exception from waitpid in syslogd::stop: %s %s" % (num, msg)) self.pid = -1 |