mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Management framework: set defaults for log rotation and persistent state
This adds management/persistence.zeek to establish common configuration for log rotation and persistent variable state. Log-writing Zeek processes initially write locally in their working directory, and rotate into subdirectory "log-queue" of the spool. Since agent and controller have no logger, persistence.zeek puts in place compatible configurations for them. Storage folders for Broker-backed tables and clusterized stores default to subdirectories of the new Zeek-level state folder. When setting the ZEEK_MANAGEMENT_TESTING environment variable, persistent state is kept in the local directory, and log rotation remains disabled. This also tweaks @loads a bit in favor of simply loading frameworks/management, which is easier to keep track of.
This commit is contained in:
parent
7708cbe500
commit
d1cd409e59
7 changed files with 65 additions and 7 deletions
|
@ -1,7 +1,6 @@
|
|||
##! Configuration settings for the cluster controller.
|
||||
|
||||
@load policy/frameworks/management/config
|
||||
@load policy/frameworks/management/types
|
||||
@load policy/frameworks/management
|
||||
|
||||
module Management::Controller;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue