Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign up/var/log/qubes/* disk usage: logrotate and decrease debug log level ? #3603
Comments
andrewdavidwong
added
enhancement
C: core
labels
Feb 18, 2018
andrewdavidwong
added this to the Release 4.0 milestone
Feb 18, 2018
andrewdavidwong
added
C: other
and removed
C: core
labels
Feb 18, 2018
andrewdavidwong
modified the milestones:
Release 4.0,
Release 4.1
Feb 18, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
3hhh
Jul 22, 2018
Totally supporting this statement.
My /var/log/qubes is currently 1.3G large, /var/log/journal 3.6G.
Both should have some reasonable limits set: From my point of view only the last 10 boot sessions or so should be deemed relevant.
Since these defaults slow down e.g. journalctl significantly I'd also consider this a bug rather than a feature request.
Related qubes-users discussion: https://groups.google.com/forum/#!topic/qubes-users/xuqbv-oR5iQ
3hhh
commented
Jul 22, 2018
|
Totally supporting this statement. My /var/log/qubes is currently 1.3G large, /var/log/journal 3.6G. Both should have some reasonable limits set: From my point of view only the last 10 boot sessions or so should be deemed relevant. Since these defaults slow down e.g. journalctl significantly I'd also consider this a bug rather than a feature request. Related qubes-users discussion: https://groups.google.com/forum/#!topic/qubes-users/xuqbv-oR5iQ |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
3hhh
Jul 22, 2018
Users can set the respective options in /etc/systemd/journald.conf themselves in the meantime, use journalctl --vacuum-size=100M && journalctl --verify as well as something such as find /var/log/qubes/* -mtime +5 -exec rm {} \; as cron job to clean the qubes logs regularly.
For the qubes logs however I guess that logrotate would be more optimal.
3hhh
commented
Jul 22, 2018
•
|
Users can set the respective options in For the qubes logs however I guess that logrotate would be more optimal. |
taradiddles commentedFeb 18, 2018
Qubes OS version:
R4.0rc4
Expected behavior:
Actual behavior:
wc -l guid.disp3787.log: 763074 !system uptime: < 2 days.
Related issues: