diff --git a/hack/vendor.sh b/hack/vendor.sh index e2849cb8b2..2859554d66 100755 --- a/hack/vendor.sh +++ b/hack/vendor.sh @@ -61,7 +61,7 @@ clone git golang.org/x/sys eb2c74142fd19a79b3f237334c7384d5167b1b46 https://gith clone git github.com/docker/go-units 651fc226e7441360384da338d0fd37f2440ffbe3 clone git github.com/docker/go-connections fa2850ff103453a9ad190da0df0af134f0314b3d clone git github.com/docker/engine-api 4eca04ae18f4f93f40196a17b9aa6e11262a7269 -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 }