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:
Amaury Denoyelle 2021-04-20 18:35:19 +02:00
parent cece918625
commit d38e7fa233
1 changed files with 1 additions and 0 deletions

View File

@ -4457,6 +4457,7 @@ static int cli_parse_add_server(char **args, char *payload, struct appctx *appct
thread_release();
ha_notice("New server %s/%s registered.\n", be->id, srv->id);
cli_msg(appctx, LOG_INFO, "New server registered.");
return 0;