zeek/scripts/base/frameworks/logging
Jon Siwek a06ef66edc Add Log::rotation_format_func and Log::default_rotation_dir options
These may be redefined to customize log rotation path prefixes,
including use of a directory.  File extensions are still up to
individual log writers to add themselves during the actual rotation.

These new also allow for some simplication to the default
ASCII postprocessor function: it eliminates the need for it doing an
extra/awkward rename() operation that only changes the timestamp format.

This also teaches the supervisor framework to use these new options
to rotate ascii logs into a log-queue/ directory with a specific
file name format (intended for an external archiver process to
monitor separately).
2020-07-07 18:42:37 -07:00
..
postprocessors GH-234: rename Broxygen to Zeexygen along with roles/directives 2019-04-22 19:45:50 -07:00
writers Add Log::rotation_format_func and Log::default_rotation_dir options 2020-07-07 18:42:37 -07:00
__load__.zeek Rename all scripts to have ".zeek" file extension 2019-04-11 21:12:40 -05:00
main.zeek Add Log::rotation_format_func and Log::default_rotation_dir options 2020-07-07 18:42:37 -07:00
README Add README files for most Bro frameworks 2013-10-11 00:19:37 -05:00

The logging framework provides a flexible key-value based logging interface.