Todo #9808: status_logs_settings.php: Add GUI option for syslog format - pfSense (original) (raw)

closed

status_logs_settings.php: Add GUI option for syslog format


Description

On FreeBSD 12.x, syslogd now supports a choice for log format:

 -O format
         Select the output format of generated log messages.  The values
         bsd and rfc3164 are used to generate RFC 3164 log messages.  The
         values syslog and rfc5424 are used to generate RFC 5424 log
         messages, having RFC 3339 timestamps with microsecond precision.
         The default is to generate RFC 3164 log messages.

This would be useful to have on status_logs_settings.php, defaulting to the stated default value (rfc3164)

Hi,

I have RFC 5424 manually running here, to export to my syslog collector. And you're right, the local syslog is not displaying then. Is there a mod you want me to try? More than willing to work on it here also. Is there a particular PHP file you're referring to?

Thanks!

This option has been in and working for a while. No negative side effects that I can see other than #10155 which is being tracked separately.

Logs can be set to either format. Both display in the GUI even when there is a mix of formats in the same log file.

If further problems are discovered they can be tracked in their own separate issues.

Also available in: Atom PDF

Loading...