You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
suricata/doc
Lukas Sismis da64eace18 util/log: rotate calendar intervals on local-time boundaries
With rotate-interval set to minute, hour or day, rotations were not
aligned to the local time boundaries. The first rotation was computed
by SCGetSecondsUntil(), which overshoots the next hour by one minute
(hh:01:00) and the next day by one hour and one minute (01:01:00).
Every following rotation was re-armed with a fixed interval
(e.g. 86400 s) from the time of the rotation.

Local days are not always 86400 s long, so the day rotation also moved
by the DST shift on every DST transition and stayed there until the
next one. A file named after a date then held events of the next day.

Instead, this commit rotates logs when the local minute, hour or date
changes. The daily rotation now happens at local midnight.
On SIGHUP, the period is recorded before the file is reopened, so a boundary
(the next minute/hour/day) passing during the reopen leads to an extra
reopen instead of a missed rotation.

Ticket: #9139
4 days ago
..
doxygen
…
userguide util/log: rotate calendar intervals on local-time boundaries 4 days ago
AUTHORS doc: replace ohloh with openhub link 5 years ago
Basic_Setup.txt docs: fix typos in Basic_Setup.txt 4 months ago
INSTALL doc/install: fix minor typo 1 year ago
Makefile.am doc: remove outdated GITGUIDE 1 year ago
NEWS userguide: update references to Suricata website 5 years ago
README
…
Setting_up_IPSinline_for_Linux.txt docs: update url to docs.suricata.io 3 years ago
TODO userguide: update references to Suricata website 5 years ago
Third_Party_Installation_Guides.txt
…

README