Description
Add an action /syslog/clear to flush the in-memory log buffer.
The upcoming sysklogd 3.0 adds a membuf ring buffer served over a UNIX socket to logread. Once Infix enables it, tests and operators need a way to reset the buffer between runs without touching the log files on disk. Fits the "reset runtime state" family alongside dhcp-server/statistics/clear.
Additional Information
General Information
Anyone can help out by sponsoring development of new features or contributing pull requests.
Please use this issue for discussions related to the feature.
Description
Add an action
/syslog/clearto flush the in-memory log buffer.The upcoming sysklogd 3.0 adds a
membufring buffer served over a UNIX socket tologread. Once Infix enables it, tests and operators need a way to reset the buffer between runs without touching the log files on disk. Fits the "reset runtime state" family alongsidedhcp-server/statistics/clear.Additional Information
/syslogbeing configured, so it should live under itclear logGeneral Information
Anyone can help out by sponsoring development of new features or contributing pull requests.
Please use this issue for discussions related to the feature.