logwatch_config.py.dist
author Tero Marttila <terom@fixme.fi>
Wed, 26 Mar 2008 01:12:11 +0200
changeset 15 e31e38d654b6
parent 12 cf388baabf0a
child 18 6348bf9750bc
permissions -rw-r--r--
some forgotten commits

committer: Tero Marttila <terom@fixme.fi>
from logwatch_filters import *

# log_files is a sequence of three-tuples
log_files = (
    # (name, filename, filter-seq))
    # 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
    # filters should inherit from logwatch_filters.Filter
    ("auth.log", "/var/log/auth.log", (
        SudoFilter(),
#       SSHFilter(),
    )),
)