]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] add options dontlog-normal and log-separate-errors
authorWilly Tarreau <w@1wt.eu>
Sun, 10 May 2009 09:57:02 +0000 (11:57 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 10 May 2009 09:57:02 +0000 (11:57 +0200)
commitc9bd0cc22447116a31509a07f8bf9a893d9d8828
tree7f238dc8057cec146d87cef96bf0fb1525a7b749
parent1700b9c3d5f06ac283ab2e254bd64b1bc7a207ca
[MINOR] add options dontlog-normal and log-separate-errors

Some big traffic sites have trouble dealing with logs and tend to
disable them. Here are two new options to help cope with massive
logs.

  - dontlog-normal only disables logging for 100% successful
    connections, other ones will still be logged

  - log-separate-errors will cause non-100% successful connections
    to be logged at level "err" instead of level "info" so that a
    properly configured syslog daemon can send them to a different
    file for longer conservation.
doc/configuration.txt
include/types/proxy.h
src/cfgparse.c
src/log.c
src/proto_http.c