mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-04-11 03:31:36 +00:00
[MINOR] print the proxy name on first line during dumps to avoid confusion.
This commit is contained in:
parent
926a3575e6
commit
fd5c879b4d
@ -6348,7 +6348,7 @@ void sig_dump_state(int sig) {
|
|||||||
while (p) {
|
while (p) {
|
||||||
struct server *s = p->srv;
|
struct server *s = p->srv;
|
||||||
|
|
||||||
send_log(p, LOG_NOTICE, "SIGUP received, dumping servers states.\n");
|
send_log(p, LOG_NOTICE, "SIGUP received, dumping servers states for proxy %s.\n", p->id);
|
||||||
while (s) {
|
while (s) {
|
||||||
if (s->state & SRV_RUNNING) {
|
if (s->state & SRV_RUNNING) {
|
||||||
snprintf(trash, sizeof(trash),
|
snprintf(trash, sizeof(trash),
|
||||||
|
Loading…
Reference in New Issue
Block a user