From: Aurelien DARRAGON Date: Tue, 14 May 2024 13:11:27 +0000 (+0200) Subject: CLEANUP: log: remove ambiguous legacy comment for resolve_logger() X-Git-Tag: v3.1-dev1~22 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2a1bf9992347043402e4befb124e094abb088dff;p=thirdparty%2Fhaproxy.git CLEANUP: log: remove ambiguous legacy comment for resolve_logger() It is no longer relevant to say that is used for implicit settings. In fact the function resolves , but currently mainly focuses on loggers's target. However we could extend the function to perform additional work on the logger itself in the future. let's adjust the comment to prevent any confusion. --- diff --git a/src/log.c b/src/log.c index 0cd704da9f..862e0299db 100644 --- a/src/log.c +++ b/src/log.c @@ -1406,8 +1406,6 @@ static int postcheck_log_backend(struct proxy *be) /* resolves a single logger entry (it is expected to be called * at postparsing stage) * - * is parent logger used for implicit settings - * * Returns err_code which defaults to ERR_NONE and can be set to a combination * of ERR_WARN, ERR_ALERT, ERR_FATAL and ERR_ABORT in case of errors. * could be set at any time (it will usually be set on error, but