-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compress log backup files by gzip #18645
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't actually approve of the first commit (at least in its current form). It creates a cross dependencies between Application and FileLogger, which clearly cannot be seen as an improvement from a code structure perspective.
I'm not skilled in C++, so please forgive me for asking some ridiculous questions. Can I avoid cross dependencies if using the application interface class? Do you have any suggestions for this, keeping the original form, using a singleton or any other way? |
I believe the easiest thing for all of us would be to revert this commit. |
@brvphoenix |
c5e280f
to
92211a5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@brvphoenix
I don't have time to review it all at once. I can either do it little by little, leaving some comments individually, or (if you don't like it that way) wait until I can review it in its entirety.
d8a126d
to
bbc9b77
Compare
I'm OK with that ;). |
@brvphoenix
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally approved (without regarding the code)
197c2a4
to
4b0bc04
Compare
This PR is stale because it has been 60 days with no activity. This PR will be automatically closed within 7 days if there is no further activity. |
This PR is stale because it has been 60 days with no activity. This PR will be automatically closed within 7 days if there is no further activity. |
Any traction here ? |
This PR is stale because it has been 60 days with no activity. This PR will be automatically closed within 7 days if there is no further activity. |
This PR was closed because it has been stalled for some time with no activity. |
Some operations (such as updating RSS schedulely) will make qbittorrent generate a lot of messages. But the qbittorrent will delete old backups only at startup previously. If qbittorrent is running for a long time, log backups will pile up over time.
The main changes in this PR are:
84143d487031282669c5a40eb3022747c6ff030c is a little hacking way to implement log compression with streams. I hesitate to add this because I find that the max allowed log file size is 1000MiB.