infix icon indicating copy to clipboard operation
infix copied to clipboard

Frr logs to /var/log/frr without rotation

Open troglobit opened this issue 1 year ago • 0 comments

Set up Frr with syslog, format rfc5424:

  • https://docs.frrouting.org/en/latest/basic.html#clicmd-log-syslog-LEVEL
  • https://docs.frrouting.org/en/latest/extlog.html#clicmd-destination-syslog-supports-rfc5424

This will let it log structured logs directly to /dev/log, without passing the non-functional GLIBC syslog() API. Allowing syslogd to both filter, forward, and handle log rotation.

troglobit avatar Jul 14 '24 15:07 troglobit