MINOR: log: make log-format expressions completely usable outside of req/resp
authorWilly Tarreau <w@1wt.eu>
Fri, 3 Sep 2021 06:53:29 +0000 (08:53 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 3 Sep 2021 09:01:48 +0000 (11:01 +0200)
commit20b7a0f9ed0c4f2aefa0d170b26610d37b740445
tree7f6856775e6e0049f1c2d3ba9a5aedf32e948b8f
parent9c20433acad4f9e0a99191d00f584d36f058a538
MINOR: log: make log-format expressions completely usable outside of req/resp

The log-format strings are usable at plenty of places, but the expressions
using %[] were restricted to request or response context and nothing else.
This prevents from using them from the config context or the CLI, let's
relax this.
src/log.c