]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: log: Preserve message facility when the log target is a ring buffer
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 19 Oct 2022 06:16:48 +0000 (08:16 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 20 Oct 2022 07:03:19 +0000 (09:03 +0200)
commitcc640e851aa22e9ba7c4b5155d099457d1e3989f
tree9f90acf92ddd27fcc859f539c87f75e604158b71
parent9e3026c58dcd4444c462193a9a8f1e1027e4f550
BUG/MINOR: log: Preserve message facility when the log target is a ring buffer

When a ring is used as log target, the original facility, if any, must be
preserved. The default facility must only be used if there no facility was
found in the incoming log message.

This patch should fix the issue #1901. It must be backported as far as 2.4.
src/log.c