fixbot/logwatch_config.py.dist
author Tero Marttila <terom@fixme.fi>
Wed, 17 Sep 2008 19:28:42 +0300
changeset 25 6c0a53a512d8
parent 22 1f1a21852abc
permissions -rw-r--r--
make fifo.py less spammy, tweak other descriptions/init.d
import logwatch_filters as filters
from logwatch_sources import *

def sources () :
    """
        Return a sequence of LogSource objects
    """

    return (
        Fifo("auth", "logs/auth.fifo", (
            filters.sudo,
            filters.cron_killer,
            filters.all,
        )),
        Fifo("foo", "foo", (
            filters.all,
        )),
    )