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();
|
||||
|
||||
ha_notice("New server %s/%s registered.\n", be->id, srv->id);
|
||||
cli_msg(appctx, LOG_INFO, "New server registered.");
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue