[syslog-ng] [Bug 265] syslog-ng does not output the $PID of the process, even when forced

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Fri Dec 6 09:36:35 CET 2013


--- Comment #1 from Balazs Scheidler <bazsi at balabit.hu>  2013-12-06 09:36:34 ---
Specifying the output template doesn't "force" the query of the PID value. The output side merely uses stuff that's already present in the message.

A message can be thought of as a hierarchy of dictionary-of-values or JSON object, which is filled by the input driver and potentially modified later
as the message traverses the structure specified in the configuration.

What is missing right now is that syslog-ng doesn't currently support augmenting the log message with stuff like the sender's PID and 
that's only available if the peer application calls openlog() with LOG_PID

let me see how difficult this is to add.

Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the syslog-ng mailing list