]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: acme: emit a log when starting
authorWilliam Lallemand <wlallemand@haproxy.com>
Fri, 2 May 2025 08:23:42 +0000 (10:23 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Fri, 2 May 2025 08:23:42 +0000 (10:23 +0200)
Emit a administrative log when starting the ACME client for a
certificate.

src/acme.c

index 7a80a6d7a2eea279f45fa05d17cc7defc58bed8b..272642fa01177ad27d666ddf94314857d050ab46 100644 (file)
@@ -2188,6 +2188,8 @@ static int cli_acme_renew_parse(char **args, char *payload, struct appctx *appct
        MT_LIST_INIT(&ctx->el);
        MT_LIST_APPEND(&acme_tasks, &ctx->el);
 
+       send_log(NULL, LOG_NOTICE, "acme: %s: Starting update of the certificate.\n", ctx->store->path);
+
        task_wakeup(task, TASK_WOKEN_INIT);
 
        return 0;