fixbot/logwatch/sources.py
changeset 59 43806d334fb4
parent 54 395182b7ea0f
child 63 a849c00b63f8
equal deleted inserted replaced
58:31a17b0b5159 59:43806d334fb4
    82             # let the filter process the line
    82             # let the filter process the line
    83             out = filter.match(msg)
    83             out = filter.match(msg)
    84 
    84 
    85             if out :
    85             if out :
    86                 # unpack
    86                 # unpack
    87                 type, msg = out
    87                 label, msg = out
       
    88 
       
    89                 # output tag/type
       
    90                 type = "%s:%s" % (self.name, label)
    88 
    91 
    89                 # positive match, send
    92                 # positive match, send
    90                 log.msg("\t%s: %s" % (type, msg))
    93                 log.msg("\t%s: %s" % (type, msg))
    91                 
    94                 
    92                 # drop until we have a module
    95                 # drop until we have a module