fixbot/logwatch/__init__.py
changeset 58 31a17b0b5159
parent 48 ba101beeb062
child 62 e4db89a5f6bc
equal deleted inserted replaced
57:31e7421e98af 58:31a17b0b5159
     6 from fixbot import api
     6 from fixbot import api
     7 
     7 
     8 class LogWatchModule (api.Module) :
     8 class LogWatchModule (api.Module) :
     9     name = "logs"
     9     name = "logs"
    10     
    10     
    11     event_types = [
       
    12         "error",
       
    13         "sudo",
       
    14         "ssh",
       
    15         "all"
       
    16     ]
       
    17 
       
    18     def __init__ (self, config) :
    11     def __init__ (self, config) :
    19         """
    12         """
    20             Initialize with logwatch_sources from config
    13             Initialize with logwatch_sources from config
    21         """
    14         """
    22 
    15