syslog tag not properly included when writing to unix socket
Bug #1329400 reported by
Simao
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Nginx |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When using `unix:/dev/log` to write to a socket, like so:
access_log syslog:
The tag is not used properly by syslog to write the log message. This causes the following message to be sent to syslog:
2014-06-
0 | "curl/7.26.0" "/" "-"
wheezy is my hostname, and it's written in syslog's tag field. The tag nginx is there, but it's written in the beggining of the `msg` field.
My hostname is also written to syslog's `app-name` field.
The same faulty behaviour is observed with `error_log`.
This works properly when using a remote server, server=<ip>.
information type: | Public → Public Security |
information type: | Public Security → Private Security |
information type: | Private Security → Private |
information type: | Private → Public |
To post a comment you must log in.
Which version(s) of Ubuntu does this happen on? What version of Ubuntu are you using? Are you using a PPA?