HomeFreeBSD

Allow to limit zed's syslog chattiness

Description

Allow to limit zed's syslog chattiness

Some usage patterns like send/recv of replication streams can
produce a large number of events. In such a case, the current
all-syslog.sh zedlet will hold up to its name, and flood the
logs with mostly redundant information. Two mitigate this
situation, this changeset introduces to new variables
ZED_SYSLOG_SUBCLASS_INCLUDE and ZED_SYSLOG_SUBCLASS_EXCLUDE
to zed.rc that give more control over which event classes end
up in the syslog.

Reviewed-by: loli10K <ezomori.nozomu@gmail.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: Daniel Kobras <d.kobras@science-computing.de>
Closes #6886
Closes #7260

Details

Provenance
Tony Hutter <hutter2@llnl.gov>Authored on Mar 6 2018, 11:41 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Mar 6 2018, 11:41 PM
Parents
rGd2160d053838: Record skipped MMP writes in multihost_history
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG639b18944a6a: Allow to limit zed's syslog chattiness (authored by Tony Hutter <hutter2@llnl.gov>).Mar 6 2018, 11:41 PM