Fuglu plugin to log all mail information via GELF
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Johann Schmitz aaa5f1b3db
Fix lint() support
pirms 1 gada
fuglugelf Fix lint() support pirms 1 gada
tests Added option to set the recipient-delimiter to provide cleaned up recipient addresses pirms 3 gadiem
.gitignore Initial commit pirms 3 gadiem
LICENSE.txt Initial commit pirms 3 gadiem
Makefile Added Makefile and sonar-project.properties pirms 3 gadiem
README.md Added option to set the recipient-delimiter to provide cleaned up recipient addresses pirms 3 gadiem
requirements.txt Support logging to GELF via HTTP pirms 1 gada
requirements_dev.txt Added requirements_dev.txt pirms 3 gadiem
setup.py Decode subject before passing it to the logger pirms 3 gadiem
sonar-project.properties Updated sonar-project.properties pirms 3 gadiem

README.md

fuglu-gelf

fuglu-gelf is a fuglu plugin that logs the passing message with all informations to a GELF host.

Configuration

After installation, make the following changes to your fuglu.conf

[main]
appenders=gelf

[PluginAlias]
gelf=fuglugelf.logger.GELFLogger

and restart fuglu. This will log every mail passing through fuglu to localhost:12201 on loglevel INFO.

To configure the log level and/or the target host, add

[GELFLogger]
loglevel = DEBUG 
gelf-host = 10.11.12.13
gelf-port = 12345

# optional, if you're using postfix recipient_delimiter
# recipient-delimiter = 

to your fuglu.conf and restart fuglu.

By default, the source property of the Suspect class is omitted. You can enable it using

log-source = true

in the [GELFLogger] section to log the whole message.

License

See LICENSE.txt