fixbot/logwatch_config.py.dist
author Tero Marttila <terom@fixme.fi>
Sat, 19 Sep 2009 23:01:11 +0300
changeset 32 4a2aa163a576
parent 22 1f1a21852abc
permissions -rw-r--r--
update cron_killer for debian lenny
22
1f1a21852abc .hgignore, .dists, fixbot_plugin.py
terom@fixme.fi
parents:
diff changeset
     1
import logwatch_filters as filters
1f1a21852abc .hgignore, .dists, fixbot_plugin.py
terom@fixme.fi
parents:
diff changeset
     2
from logwatch_sources import *
1f1a21852abc .hgignore, .dists, fixbot_plugin.py
terom@fixme.fi
parents:
diff changeset
     3
1f1a21852abc .hgignore, .dists, fixbot_plugin.py
terom@fixme.fi
parents:
diff changeset
     4
def sources () :
1f1a21852abc .hgignore, .dists, fixbot_plugin.py
terom@fixme.fi
parents:
diff changeset
     5
    """
1f1a21852abc .hgignore, .dists, fixbot_plugin.py
terom@fixme.fi
parents:
diff changeset
     6
        Return a sequence of LogSource objects
1f1a21852abc .hgignore, .dists, fixbot_plugin.py
terom@fixme.fi
parents:
diff changeset
     7
    """
1f1a21852abc .hgignore, .dists, fixbot_plugin.py
terom@fixme.fi
parents:
diff changeset
     8
1f1a21852abc .hgignore, .dists, fixbot_plugin.py
terom@fixme.fi
parents:
diff changeset
     9
    return (
1f1a21852abc .hgignore, .dists, fixbot_plugin.py
terom@fixme.fi
parents:
diff changeset
    10
        Fifo("auth", "logs/auth.fifo", (
1f1a21852abc .hgignore, .dists, fixbot_plugin.py
terom@fixme.fi
parents:
diff changeset
    11
            filters.sudo,
1f1a21852abc .hgignore, .dists, fixbot_plugin.py
terom@fixme.fi
parents:
diff changeset
    12
            filters.cron_killer,
1f1a21852abc .hgignore, .dists, fixbot_plugin.py
terom@fixme.fi
parents:
diff changeset
    13
            filters.all,
1f1a21852abc .hgignore, .dists, fixbot_plugin.py
terom@fixme.fi
parents:
diff changeset
    14
        )),
1f1a21852abc .hgignore, .dists, fixbot_plugin.py
terom@fixme.fi
parents:
diff changeset
    15
        Fifo("foo", "foo", (
1f1a21852abc .hgignore, .dists, fixbot_plugin.py
terom@fixme.fi
parents:
diff changeset
    16
            filters.all,
1f1a21852abc .hgignore, .dists, fixbot_plugin.py
terom@fixme.fi
parents:
diff changeset
    17
        )),
1f1a21852abc .hgignore, .dists, fixbot_plugin.py
terom@fixme.fi
parents:
diff changeset
    18
    )
1f1a21852abc .hgignore, .dists, fixbot_plugin.py
terom@fixme.fi
parents:
diff changeset
    19