mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 04:58:21 +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
|
@ -99,6 +99,7 @@ private:
|
|||
void RemoveDisabledWriters(Stream* stream);
|
||||
void InstallRotationTimer(WriterInfo* winfo);
|
||||
void Rotate(WriterInfo* info);
|
||||
RecordVal* LookupRotationControl(EnumVal* writer, string path);
|
||||
|
||||
vector<Stream *> streams; // Indexed by stream enum.
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue