# HG changeset patch # User Tero Marttila # Date 1265401259 -7200 # Node ID 43806d334fb477ace4a0b68de2180c6c6a15532f # Parent 31a17b0b515918fde1d25b0e248af7753f23b42d prepend source name to output type diff -r 31a17b0b5159 -r 43806d334fb4 fixbot/logwatch/sources.py --- a/fixbot/logwatch/sources.py Fri Feb 05 21:48:14 2010 +0200 +++ b/fixbot/logwatch/sources.py Fri Feb 05 22:20:59 2010 +0200 @@ -84,7 +84,10 @@ if out : # unpack - type, msg = out + label, msg = out + + # output tag/type + type = "%s:%s" % (self.name, label) # positive match, send log.msg("\t%s: %s" % (type, msg))