logwatch_config.py.dist
changeset 12 cf388baabf0a
child 18 6348bf9750bc
equal deleted inserted replaced
11:2d33d62cd8f8 12:cf388baabf0a
       
     1 from logwatch_filters import *
       
     2 
       
     3 # log_files is a sequence of three-tuples
       
     4 log_files = (
       
     5     # (name, filename, filter-seq))
       
     6     # name is used for display purposes, filename is the file to follow, and filter-seq is a list of filters to apply to each line of output
       
     7     # filters should inherit from logwatch_filters.Filter
       
     8     ("auth.log", "/var/log/auth.log", (
       
     9         SudoFilter(),
       
    10 #       SSHFilter(),
       
    11     )),
       
    12 )
       
    13