Browse code

Add journald tag as SYSLOG_IDENTIFIER

Signed-off-by: Vlastimil Zeman <vlastimil.zeman@diffblue.com>

Vlastimil Zeman authored on 2017/11/22 00:20:07
Showing 1 changed files
... ...
@@ -75,6 +75,7 @@ func New(info logger.Info) (logger.Logger, error) {
75 75
 		"CONTAINER_ID_FULL": info.ContainerID,
76 76
 		"CONTAINER_NAME":    info.Name(),
77 77
 		"CONTAINER_TAG":     tag,
78
+		"SYSLOG_IDENTIFIER": tag,
78 79
 	}
79 80
 	extraAttrs, err := info.ExtraAttributes(sanitizeKeyMod)
80 81
 	if err != nil {