etc/fixbot-logwatch.py
author Tero Marttila <terom@fixme.fi>
Thu, 04 Feb 2010 19:41:25 +0200
changeset 41 9be5b4525e78
parent 40 b9fdb7710768
child 46 ee58a22e5baa
permissions -rw-r--r--
fixup etc/fixbot-nexus.py
40
b9fdb7710768 move logwatch*.py to separate fixbot.logwatch package, and move logwatch_sources to etc/fixbot-logwatch.py
Tero Marttila <terom@fixme.fi>
parents: 35
diff changeset
     1
from fixbot.logwatch import filters
b9fdb7710768 move logwatch*.py to separate fixbot.logwatch package, and move logwatch_sources to etc/fixbot-logwatch.py
Tero Marttila <terom@fixme.fi>
parents: 35
diff changeset
     2
from fixbot.logwatch.sources import *
22
1f1a21852abc .hgignore, .dists, fixbot_plugin.py
terom@fixme.fi
parents:
diff changeset
     3
40
b9fdb7710768 move logwatch*.py to separate fixbot.logwatch package, and move logwatch_sources to etc/fixbot-logwatch.py
Tero Marttila <terom@fixme.fi>
parents: 35
diff changeset
     4
## shared secret for API client
b9fdb7710768 move logwatch*.py to separate fixbot.logwatch package, and move logwatch_sources to etc/fixbot-logwatch.py
Tero Marttila <terom@fixme.fi>
parents: 35
diff changeset
     5
api_secret = "xyz"
22
1f1a21852abc .hgignore, .dists, fixbot_plugin.py
terom@fixme.fi
parents:
diff changeset
     6
40
b9fdb7710768 move logwatch*.py to separate fixbot.logwatch package, and move logwatch_sources to etc/fixbot-logwatch.py
Tero Marttila <terom@fixme.fi>
parents: 35
diff changeset
     7
## Path to logfiles
b9fdb7710768 move logwatch*.py to separate fixbot.logwatch package, and move logwatch_sources to etc/fixbot-logwatch.py
Tero Marttila <terom@fixme.fi>
parents: 35
diff changeset
     8
logwatch_dir = "logs/"
b9fdb7710768 move logwatch*.py to separate fixbot.logwatch package, and move logwatch_sources to etc/fixbot-logwatch.py
Tero Marttila <terom@fixme.fi>
parents: 35
diff changeset
     9
b9fdb7710768 move logwatch*.py to separate fixbot.logwatch package, and move logwatch_sources to etc/fixbot-logwatch.py
Tero Marttila <terom@fixme.fi>
parents: 35
diff changeset
    10
## Iterable of LogSource objects
b9fdb7710768 move logwatch*.py to separate fixbot.logwatch package, and move logwatch_sources to etc/fixbot-logwatch.py
Tero Marttila <terom@fixme.fi>
parents: 35
diff changeset
    11
logwatch_sources = (
b9fdb7710768 move logwatch*.py to separate fixbot.logwatch package, and move logwatch_sources to etc/fixbot-logwatch.py
Tero Marttila <terom@fixme.fi>
parents: 35
diff changeset
    12
    Fifo("test", logwatch_dir + "/test.fifo", (
b9fdb7710768 move logwatch*.py to separate fixbot.logwatch package, and move logwatch_sources to etc/fixbot-logwatch.py
Tero Marttila <terom@fixme.fi>
parents: 35
diff changeset
    13
        filters.all,
b9fdb7710768 move logwatch*.py to separate fixbot.logwatch package, and move logwatch_sources to etc/fixbot-logwatch.py
Tero Marttila <terom@fixme.fi>
parents: 35
diff changeset
    14
    )),
b9fdb7710768 move logwatch*.py to separate fixbot.logwatch package, and move logwatch_sources to etc/fixbot-logwatch.py
Tero Marttila <terom@fixme.fi>
parents: 35
diff changeset
    15
)