Add journald tag as SYSLOG_IDENTIFIER
Signed-off-by: Vlastimil Zeman <vlastimil.zeman@diffblue.com> Upstream-commit: ae557f9d85f41e009229d1a33844f06f7ad1fb99 Component: engine
This commit is contained in:
@@ -75,6 +75,7 @@ func New(info logger.Info) (logger.Logger, error) {
|
||||
"CONTAINER_ID_FULL": info.ContainerID,
|
||||
"CONTAINER_NAME": info.Name(),
|
||||
"CONTAINER_TAG": tag,
|
||||
"SYSLOG_IDENTIFIER": tag,
|
||||
}
|
||||
extraAttrs, err := info.ExtraAttributes(sanitizeKeyMod)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user