Merge pull request #35570 from zemanlx/feature/journald-with-SYSLOG_IDENTIFIER
Add journald tag as SYSLOG_IDENTIFIER
This commit is contained in:
commit
d80c13a541
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue