Skip to content

util/log: rotate log file periodically - #15635

Closed
Abhijeet94 wants to merge 1 commit into
OISF:mainfrom
Abhijeet94:log-rot-no-traffic-5
Closed

util/log: rotate log file periodically#15635
Abhijeet94 wants to merge 1 commit into
OISF:mainfrom
Abhijeet94:log-rot-no-traffic-5

Conversation

@Abhijeet94

Copy link
Copy Markdown

Fix log file not rotating during zero traffic periods by triggering rotation logic every second

Ticket: https://redmine.openinfosecfoundation.org/issues/8115

Make sure these boxes are checked accordingly before submitting your Pull Request -- thank you.

Contribution style:

Our Contribution agreements:

Changes (if applicable):

Link to ticket: https://redmine.openinfosecfoundation.org/issues/8115

Describe changes:
Used the periodic log flush thread to do log rotation every 1 second. Write is triggered with a Rotate function pointer. This PR is a follow-up for this.

Fix log file not rotating during zero traffic periods by triggering rotation logic every second

Ticket: https://redmine.openinfosecfoundation.org/issues/8115
@Abhijeet94

Copy link
Copy Markdown
Author

Follow up from #15611

@victorjulien victorjulien added this to the 9.0 milestone Jun 12, 2026
@victorjulien

Copy link
Copy Markdown
Member

Merged in #15636, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants