You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, you want to rotate files in every hour such as 10AM, 11AM, 12PM, ... even though you start the server on 9:30AM, did I understand correctly? If so, it makes sense.
Instead of force_rotate_granularity, if 'rotationPeriod' is hourly/daily/weekly/monthly, we can change the behavior.
nextRotation = new DateTime().plus(rotationPeriod).getMillis(); of LocalFileSink is the key of this behavior.
if i want to rotate logs hourly, just using
roatationPeriod
will cause unnecessary messages in the log file,eg. 19:57 + 10m (expected 20:00) .
how about if i add a
force_rotate_ granularity
property to support this ?The text was updated successfully, but these errors were encountered: