]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] implement per-logger log level limitation
authorWilly Tarreau <w@1wt.eu>
Sun, 10 May 2009 15:20:05 +0000 (17:20 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 10 May 2009 15:20:05 +0000 (17:20 +0200)
commitf7edefa413ad51209d78b407e14317e6ef1ac742
tree16761bd9d3e687531087fc53feea28f9978ad8ca
parentaffb481f1a09b36688fc67356bec314e544fd238
[MINOR] implement per-logger log level limitation

Some people are using haproxy in a shared environment where the
system logger by default sends alert and emerg messages to all
consoles, which happens when all servers go down on a backend for
instance. These people can not always change the system configuration
and would like to limit the outgoing messages level in order not to
disturb the local users.

The addition of an optional 4th field on the "log" line permits
exactly this. The minimal log level ensures that all outgoing logs
will have at least this level. So the logs are not filtered out,
just set to this level.
doc/configuration.txt
include/types/global.h
include/types/proxy.h
src/cfgparse.c
src/log.c