newsyslog patch implementing file includes
gordon at freebsd.org
Thu Apr 22 03:55:45 UTC 2010
I wanted the ability for a port to have a rotating log policy so I wrote a
patch for newsyslog to implement includes of other newsyslog.conf style
Please find the patch at:
Format for the include line in /etc/newsyslog.conf is:
Here's a quick overview of the changes:
Convert the conf_entry struct from using a home rolled linked list to the
Add a STAILQ to process include files.
Add support for <include> tag to specify include files.
Globbing is supported in <include> statements.
Properly detect circular include loop dependencies.
Please take a look and send me any comments you might have.
More information about the freebsd-current