fix(nginx): drop hostname from journald syslog targets #584

Merged
benvin merged 1 commits from benvin/nginx-syslog-nohostname into develop 2026-11-24 23:30:20 +11:00
Member

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.

  • add nohostname to every syslog:server=unix:/dev/log access and error log target
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. - add `nohostname` to every `syslog:server=unix:/dev/log` access and error log target
unkin-agent added 1 commit 2026-11-24 22:14:43 +11:00
fix(nginx): drop hostname from journald syslog targets
ci/woodpecker/pr/ruby-validate Pipeline was successful
ci/woodpecker/pr/bolt-validate Pipeline was successful
ci/woodpecker/pr/puppet-lint Pipeline was successful
ci/woodpecker/pr/yamllint Pipeline was successful
ci/woodpecker/pr/erb-validate Pipeline was successful
ci/woodpecker/pr/epp-validate Pipeline was successful
ci/woodpecker/pr/puppet-validate Pipeline was successful
ci/woodpecker/pr/ruby-check Pipeline was successful
6fc27ae8fe
benvin merged commit c6e411a027 into develop 2026-11-24 23:30:20 +11:00
benvin deleted branch benvin/nginx-syslog-nohostname 2026-11-24 23:30:20 +11:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unkin/puppet-prod#584