keepalived: add patch to remove log message on json output
[feed/packages.git] / net / keepalived / patches / 0001-vrrp-remove-logging-on-status-output.patch
1 From 6cce75f4eb65551a61d2e4ba775637b288c1d592 Mon Sep 17 00:00:00 2001
2 From: Florian Eckert <fe@dev.tdt.de>
3 Date: Mon, 6 May 2024 13:10:55 +0200
4 Subject: [PATCH] vrrp: remove logging on status output
5
6 A message is output to the log each time the status is queried. This is
7 not necessary and can therefore be omitted.
8
9 Signed-off-by: Florian Eckert <fe@dev.tdt.de>
10 ---
11 keepalived/vrrp/vrrp_daemon.c | 2 --
12 1 file changed, 2 deletions(-)
13
14 --- a/keepalived/vrrp/vrrp_daemon.c
15 +++ b/keepalived/vrrp/vrrp_daemon.c
16 @@ -755,8 +755,6 @@ sigusr2_vrrp(__attribute__((unused)) voi
17 static void
18 sigjson_vrrp(__attribute__((unused)) void *v, __attribute__((unused)) int sig)
19 {
20 - log_message(LOG_INFO, "Printing VRRP as json for process(%d) on signal",
21 - getpid());
22 thread_add_event(master, print_vrrp_json, NULL, 0);
23 }
24 #endif