From b1d035bf39a5f7c069488fb05cf1e01f2bb81e47 Mon Sep 17 00:00:00 2001 From: Lawrence Lee Date: Fri, 7 Jun 2024 22:24:47 -0700 Subject: [PATCH] used parent script PID for logger calls (#19219) [arp_update]: Use parent script PID for logger calls Signed-off-by: Lawrence Lee --- files/scripts/arp_update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/scripts/arp_update b/files/scripts/arp_update index 7fd5667bca83..e87c7db1f74e 100755 --- a/files/scripts/arp_update +++ b/files/scripts/arp_update @@ -11,7 +11,7 @@ ARP_UPDATE_VARS_FILE="/usr/share/sonic/templates/arp_update_vars.j2" # Overload `logger` command to include arp_update tag logger () { - command logger -t "arp_update" "$@" + command logger -i "$$" -t "arp_update" "$@" } while /bin/true; do