mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
![]() This follows rather closely how rotation currently works in rotate-logs.bro. logging.bro now defines: # Default rotation interval; zero disables rotation. const default_rotation_interval = 0secs &redef; # Default naming suffix format. const default_rotation_date_format = "%y-%m-%d_%H.%M.%S" &redef; # Default postprocessor for writers outputting into files. const default_rotation_postprocessor = "" &redef; # Default function to construct the name of the rotated file. # The default implementation includes # default_rotation_date_format into the file name. global default_rotation_path_func: function(info: RotationInfo) : string &redef; Writer support for rotation is optional, usually it will only make sense for file-based writers. TODO: Currently, there's no way to customize rotation on a per file basis, there are only the global defaults as described above. Individual customization is coming next. |
||
---|---|---|
.. | ||
btest | ||
istate | ||
README |
This directory contains some of the suites for testing for Bro's correct operation: istate/ Tests Bro's independent state facilities. These include persistent values and inter-process event/value communication. (Note that the Bro developers maintain a separate test suite for Bro's trace analysis capabilities. This is kept private as it uses sensitive raw traces for input.)