From: Michael Tremer Date: Mon, 18 Jun 2012 17:19:34 +0000 (+0000) Subject: Add PID number to log facility. X-Git-Tag: 004~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fc17ddc9383cdb17251de68434c4d73e49eb55d;p=network.git Add PID number to log facility. --- diff --git a/functions.logging b/functions.logging index e7f3a3f2..a24ca2d8 100644 --- a/functions.logging +++ b/functions.logging @@ -43,7 +43,7 @@ function log() { message="${HOOK}: ${message}" fi - logger -t ${LOG_FACILITY} "${message}" + logger -t "${LOG_FACILITY}[$$]" "${message}" # Leave here, when there should be no output on the console. [ "${LOG_DISABLE_STDOUT}" = "true" ] && return 0