]> git.ipfire.org Git - people/ms/network.git/commitdiff
Add PID number to log facility.
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 18 Jun 2012 17:19:34 +0000 (17:19 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 18 Jun 2012 17:19:34 +0000 (17:19 +0000)
functions.logging

index e7f3a3f2a8eab66fa76935f3f40774fcc82bcbb8..a24ca2d832aee28c65f9f8327087815ba21f84b4 100644 (file)
@@ -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