author | Tero Marttila <terom@fixme.fi> |
Thu, 04 Feb 2010 20:39:53 +0200 | |
changeset 48 | ba101beeb062 |
parent 46 | ee58a22e5baa |
child 51 | 342850300d6a |
permissions | -rw-r--r-- |
from fixbot.logwatch import filters from fixbot.logwatch.sources import * import os.path ## shared secret for API client api_secret = "xyz" ## Path to logfiles logwatch_dir = "logs" ## Iterable of LogSource objects logwatch_sources = ( Fifo("test", os.path.join(logwatch_dir, "test.fifo"), ( filters.sudo, filters.ssh, filters.cron_killer, filters.su_nobody_killer, filters.all, )), )