mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +00:00
Fix closing timestamp of rotated log files in supervised-cluster mode
This commit is contained in:
parent
8d3c07b62a
commit
99d9a3a48c
6 changed files with 66 additions and 62 deletions
|
@ -21,7 +21,7 @@ export {
|
|||
function my_rotation_format_func(ri: Log::RotationFmtInfo): Log::RotationPath
|
||||
{
|
||||
local open_str = strftime(Log::default_rotation_date_format, ri$open);
|
||||
local close_str = strftime(Log::default_rotation_date_format, ri$open);
|
||||
local close_str = strftime(Log::default_rotation_date_format, ri$close);
|
||||
local base = fmt("%s__%s__%s__", ri$path, open_str, close_str);
|
||||
local rval = Log::RotationPath($file_basename=base);
|
||||
return rval;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue