mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 22:01:31 +02:00
MINOR: server: add log on dynamic server creation
Add a notice log to report the creation of a new server. The log is printed at the end of the function.
This commit is contained in:
parent
cece918625
commit
d38e7fa233
@ -4457,6 +4457,7 @@ static int cli_parse_add_server(char **args, char *payload, struct appctx *appct
|
|||||||
|
|
||||||
thread_release();
|
thread_release();
|
||||||
|
|
||||||
|
ha_notice("New server %s/%s registered.\n", be->id, srv->id);
|
||||||
cli_msg(appctx, LOG_INFO, "New server registered.");
|
cli_msg(appctx, LOG_INFO, "New server registered.");
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user