Skip to content

Add action to clear the in-memory log buffer #1641

Description

@troglobit

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    triagePending investigation & classification (CCB)

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions