author | Tero Marttila <terom@fixme.fi> |
Fri, 05 Feb 2010 22:20:59 +0200 | |
changeset 59 | 43806d334fb4 |
parent 58 | 31a17b0b5159 |
child 60 | a5b4c60cdc5c |
child 65 | 1de3c0ca2baf |
--- 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))