siproxd: improve syslog messages 306/head
authorguidosarducci <guidosarducci@users.noreply.github.com>
Wed, 18 Oct 2017 06:39:01 +0000 (23:39 -0700)
committerguidosarducci <guidosarducci@users.noreply.github.com>
Sun, 18 Mar 2018 10:37:51 +0000 (03:37 -0700)
commit88f20a715926dec75b2076a939011c460face20a
tree065546d43f46e03df321cdd630f3df2d23014b4c
parent74b1368b9883478261592cd5792e3d4b2a9f22f8
siproxd: improve syslog messages

Use explicit ident string ("siproxd") instead of NULL, as the latter is
not guaranteed to prepend the program name (e.g. unspecified in POSIX),
and may result in syslog messages identified only by PID.

Use consistent facility (LOG_DAEMON) across openlog() and syslog() calls.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
net/siproxd/patches/010-syslog-msg.patch [new file with mode: 0644]