projects
/
haproxy-3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cece918
)
MINOR: server: add log on dynamic server creation
author
Amaury Denoyelle
<adenoyelle@haproxy.com>
Tue, 20 Apr 2021 16:35:19 +0000
(18:35 +0200)
committer
Amaury Denoyelle
<adenoyelle@haproxy.com>
Wed, 21 Apr 2021 09:00:31 +0000
(11:00 +0200)
Add a notice log to report the creation of a new server. The log is
printed at the end of the function.
src/server.c
patch
|
blob
|
history
diff --git
a/src/server.c
b/src/server.c
index
ac53221
..
e8cbdee
100644
(file)
--- a/
src/server.c
+++ b/
src/server.c
@@
-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;