Skip to content

Commit

Permalink
used parent script PID for logger calls (sonic-net#19219)
Browse files Browse the repository at this point in the history
[arp_update]: Use parent script PID for logger calls

Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
  • Loading branch information
theasianpianist authored and arun1355492 committed Jul 26, 2024
1 parent b281788 commit 7e3e1d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/scripts/arp_update
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7e3e1d3

Please sign in to comment.