mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 03:28:19 +00:00
New table Log::rotation_control that enables to control rotation
for individual files, overriding defaults. The interface isn't the greatest but the best I can come up with right now.
This commit is contained in:
parent
eb736a34b3
commit
df54cc6e78
5 changed files with 92 additions and 35 deletions
|
@ -9,9 +9,9 @@ module Log;
|
|||
type Filter: record;
|
||||
type Stream: record;
|
||||
type RotationInfo: record;
|
||||
type RotationControl: record;
|
||||
|
||||
const Log::default_rotation_interval: interval;
|
||||
const Log::default_rotation_postprocessor: string;
|
||||
const Log::rotation_control : RotationControl;
|
||||
|
||||
function Log::__create_stream%(id: Log::ID, stream: Log::Stream%) : bool
|
||||
%{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue