fix(nginx): drop hostname from journald syslog targets #584
Reference in New Issue
Block a user
Delete Branch "benvin/nginx-syslog-nohostname"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
nginx's syslog output puts the hostname between the timestamp and the tag. journald's /dev/log parser expects the tag directly after the timestamp, so SYSLOG_IDENTIFIER is never set and the hostname and tag stay in MESSAGE.
nohostnameto everysyslog:server=unix:/dev/logaccess and error log target