--- a/bin/pvl.verkko-dhcp Thu Jan 10 17:54:55 2013 +0200
+++ b/bin/pvl.verkko-dhcp Thu Jan 10 19:01:22 2013 +0200
@@ -310,6 +310,8 @@
"""
dhcp_item = self.filter.parse(item['msg'])
+
+ log.debug("%s: %s", item, dhcp_item)
if not dhcp_item :
# ignore
--- a/pvl/syslog/fifo.py Thu Jan 10 17:54:55 2013 +0200
+++ b/pvl/syslog/fifo.py Thu Jan 10 19:01:22 2013 +0200
@@ -8,7 +8,7 @@
import logging
-log = logging.getLogger('pvl.collectd.fifo')
+log = logging.getLogger('pvl.syslog.fifo')
class Fifo (object) :
"""
@@ -36,6 +36,9 @@
return self._fd
+ def fileno (self) :
+ return self.fd
+
def _open (self) :
"""
Open the internal fd (nonblocking).