mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 05:28:20 +00:00
Script-level rotation postprocessor fix.
- This fixes a problem with writers that don't have a postprocessor. Jon is still looking into the rotation problem in the core.
This commit is contained in:
parent
a3798070da
commit
2a9993619f
1 changed files with 3 additions and 2 deletions
|
@ -341,8 +341,9 @@ function __default_rotation_postprocessor(info: RotationInfo) : bool
|
||||||
{
|
{
|
||||||
if ( info$writer in default_rotation_postprocessors )
|
if ( info$writer in default_rotation_postprocessors )
|
||||||
return default_rotation_postprocessors[info$writer](info);
|
return default_rotation_postprocessors[info$writer](info);
|
||||||
|
else
|
||||||
return F;
|
# Return T by default so that postprocessor-less writers don't shutdown.
|
||||||
|
return T;
|
||||||
}
|
}
|
||||||
|
|
||||||
function default_path_func(id: ID, path: string, rec: any) : string
|
function default_path_func(id: ID, path: string, rec: any) : string
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue