You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
3 years ago | |
---|---|---|
fuglugelf | 3 years ago | |
tests | 4 years ago | |
.gitignore | 4 years ago | |
LICENSE.txt | 4 years ago | |
Makefile | 4 years ago | |
README.md | 4 years ago | |
requirements.txt | 3 years ago | |
requirements_dev.txt | 4 years ago | |
setup.py | 4 years ago | |
sonar-project.properties | 4 years ago |
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