Skip to content

Support for duologsync.log Rotation & Max File Size#27

Open
jjfallete wants to merge 1 commit into
duosecurity:masterfrom
jjfallete:patch-3
Open

Support for duologsync.log Rotation & Max File Size#27
jjfallete wants to merge 1 commit into
duosecurity:masterfrom
jjfallete:patch-3

Conversation

@jjfallete

Copy link
Copy Markdown

RotatingFileHandler is necessary to prevent the duologsync.log file from increasing in size indefinitely until the disk fills.

This allows for 3 rotations of the log file (4 total), each capping at 25MB.

We tested this and it appears to be working, but I recommend additional testing or adjusting of the added code as desired.

RotatingFileHandler is necessary to prevent the duologsync.log file from increasing in size indefinitely until the disk fills.

Requires testing prior to merge, I have not tested this.
@jjfallete jjfallete changed the title Update program.py Support for duologsync.log Rotation & Max File Size Mar 3, 2022
@Coldfirex

Copy link
Copy Markdown

Is this needed so we dont have to manually clear out the log file ever so often? It just grows in size.

@jjfallete

jjfallete commented Dec 15, 2023

Copy link
Copy Markdown
Author

@Coldfirex -- exactly. I'm not sure why Duo hasn't responded to this Pull Request. @MarkTripod-Duo maybe you can review?

It could be revised to be configurable within the ini as well, this was just a quick and dirty solution we've applied in our env.

coltwill pushed a commit that referenced this pull request Jun 10, 2026
Summary
---

This PR removes references to GitLab, which is deprecated.

Test Plan
---

CI should succeed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants