]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: log: add do_log() logging helper
authorAurelien DARRAGON <adarragon@haproxy.com>
Thu, 26 Sep 2024 08:09:09 +0000 (10:09 +0200)
committerAurelien DARRAGON <adarragon@haproxy.com>
Fri, 4 Oct 2024 19:38:02 +0000 (21:38 +0200)
commite63c7da5085702c1e3782dc135655bcd1a442d9c
tree80ddf71db4f6ae59f9e3b6e992b8c65e09e3fa3c
parentf6599cf5a621aa591cc9f31cb5d5047482aff574
MINOR: log: add do_log() logging helper

do_log() is quite similar to sess_log() or strm_log(), excepts that it
may be called at any time during session handling in an opportunistic
way as long as the session exists (the stream may or may not exist).

Also, it will try to emit the log as INFO by default, unless set-log-level
is used on the stream, or error origin flag is set.
include/haproxy/log.h
src/log.c