re-vendor syslog package
Fixes #26394 Signed-off-by: Brian Goff <cpuguy83@gmail.com> Upstream-commit: f528690674712b680caf2712092c7e2f8f236491 Component: engine
This commit is contained in:
@ -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
|
||||
|
||||
@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user