author | Tero Marttila <terom@fixme.fi> |
Wed, 17 Sep 2008 21:10:10 +0300 | |
changeset 28 | 91800c6af63b |
parent 22 | 1f1a21852abc |
permissions | -rw-r--r-- |
22 | 1 |
import logwatch_filters as filters |
2 |
from logwatch_sources import * |
|
3 |
||
4 |
def sources () : |
|
5 |
""" |
|
6 |
Return a sequence of LogSource objects |
|
7 |
""" |
|
8 |
||
9 |
return ( |
|
10 |
Fifo("auth", "logs/auth.fifo", ( |
|
11 |
filters.sudo, |
|
12 |
filters.cron_killer, |
|
13 |
filters.all, |
|
14 |
)), |
|
15 |
Fifo("foo", "foo", ( |
|
16 |
filters.all, |
|
17 |
)), |
|
18 |
) |
|
19 |