From f528690674712b680caf2712092c7e2f8f236491 Mon Sep 17 00:00:00 2001 From: Brian Goff Date: Sat, 17 Sep 2016 10:25:05 -0400 Subject: [PATCH] re-vendor syslog package Fixes #26394 Signed-off-by: Brian Goff --- hack/vendor.sh | 2 +- vendor/src/github.com/RackSec/srslog/formatter.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/vendor.sh b/hack/vendor.sh index 354ae43a86..14b2bf41ee 100755 --- a/hack/vendor.sh +++ b/hack/vendor.sh @@ -67,7 +67,7 @@ clone git github.com/docker/go-units f2145db703495b2e525c59662db69a7344b00bb8 clone git github.com/docker/go-connections 988efe982fdecb46f01d53465878ff1f2ff411ce clone git github.com/docker/engine-api f9cef590446e4e6073b49b652f47a337b897c1a3 -clone git github.com/RackSec/srslog 259aed10dfa74ea2961eddd1d9847619f6e98837 +clone git github.com/RackSec/srslog 365bf33cd9acc21ae1c355209865f17228ca534e clone git github.com/imdario/mergo 0.2.1 #get libnetwork packages diff --git a/vendor/src/github.com/RackSec/srslog/formatter.go b/vendor/src/github.com/RackSec/srslog/formatter.go index 2a74625109..7852ad37e4 100644 --- a/vendor/src/github.com/RackSec/srslog/formatter.go +++ b/vendor/src/github.com/RackSec/srslog/formatter.go @@ -32,7 +32,7 @@ func UnixFormatter(p Priority, hostname, tag, content string) string { // RFC3164Formatter provides an RFC 3164 compliant message. func RFC3164Formatter(p Priority, hostname, tag, content string) string { timestamp := time.Now().Format(time.Stamp) - msg := fmt.Sprintf("<%d> %s %s %s[%d]: %s", + msg := fmt.Sprintf("<%d>%s %s %s[%d]: %s", p, timestamp, hostname, tag, os.Getpid(), content) return msg }