1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

re-vendor syslog package

Fixes #26394

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
This commit is contained in:
Brian Goff 2016-09-17 10:25:05 -04:00
parent 788a8a3cac
commit f528690674
2 changed files with 2 additions and 2 deletions

View file

@ -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/go-connections 988efe982fdecb46f01d53465878ff1f2ff411ce
clone git github.com/docker/engine-api f9cef590446e4e6073b49b652f47a337b897c1a3 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 clone git github.com/imdario/mergo 0.2.1
#get libnetwork packages #get libnetwork packages

View file

@ -32,7 +32,7 @@ func UnixFormatter(p Priority, hostname, tag, content string) string {
// RFC3164Formatter provides an RFC 3164 compliant message. // RFC3164Formatter provides an RFC 3164 compliant message.
func RFC3164Formatter(p Priority, hostname, tag, content string) string { func RFC3164Formatter(p Priority, hostname, tag, content string) string {
timestamp := time.Now().Format(time.Stamp) 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) p, timestamp, hostname, tag, os.Getpid(), content)
return msg return msg
} }