Skip to content

Commit 21cd0b0

Browse files
theasianpianistmssonicbld
authored andcommitted
used parent script PID for logger calls (sonic-net#19219)
[arp_update]: Use parent script PID for logger calls Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
1 parent b5c1fc5 commit 21cd0b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

files/scripts/arp_update

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ARP_UPDATE_VARS_FILE="/usr/share/sonic/templates/arp_update_vars.j2"
1111

1212
# Overload `logger` command to include arp_update tag
1313
logger () {
14-
command logger -t "arp_update" "$@"
14+
command logger -i "$$" -t "arp_update" "$@"
1515
}
1616

1717
while /bin/true; do

0 commit comments

Comments
 (0)