Comment 4 for bug 1958162

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

To my knowledge, the only reasons one would have to use a logging subdirectory are:
- privileges: the daemon does its own logging, and does not run as root, so it can't write to /var/log directly and needs its own subdir, owned by it. This is the case when frr is configured to use file logging
- many log files: when there is more than one log file, it also makes sense to use a subdirectory to avoid polluting the main /var/log dir with too many individual files. That is not the case with frr. Both when file logging is used, and syslog, only one log file is produced. With syslog, one could create filters and have each routing daemon log to its own file, but that is not being done here. In fact, the rsyslog config as shipped in debian (and ubuntu) explicitly groups all logging from all daemons into one frr.log file.