]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: log: change a few log tokens to make them easier to remember
authorWilly Tarreau <w@1wt.eu>
Thu, 20 Dec 2012 16:22:52 +0000 (17:22 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 20 Dec 2012 17:21:01 +0000 (18:21 +0100)
commit2beef5888884adef538ffcc4b2da0a81cd21fe3d
treed494288adcd24904352ae3b70b8810efe56ba029
parent254d44c01492eef2e2249a5b186f37afd23eac63
MEDIUM: log: change a few log tokens to make them easier to remember

Some log tokens have evolved in a way that is not completely logical.
For example, frontend tokens sometimes begin with an 'f' and sometimes
with an 'F'. Same for backend and server.

So let's change a few cases without disrupting compatibility with existing
setups :

  Bi => bi
  Bp => bp
  Ci => ci
  Cp => cp
  Fi => fi
  Fp => fp
  Si => si
  Sp => sp
  cc => CC
  cs => CS
  st => ST

The old ones are still supported but deprecated and will be unsupported by
the 1.5 release. However, a warning message is emitted when they're encounterd
and it indicates what token should be used to replace them.
doc/configuration.txt
src/log.c