You are not logged in.

#1 2016-02-03 01:21:34

hussam
Member
Registered: 2006-03-26
Posts: 572
Website

[solved] systemd journal rotation.

I know that if journald wants to use 4GB to store journals, it removes the oldest files on next rotation of current journals (archiving) after it crosses the 4GB quota.
Will it take into account *.journal~ files when purging the oldest journals as well or do I have to manually remove those?
(*.jorunal~ files are ones that were not closed correctly after an incorrect shutdown)

Last edited by hussam (2016-02-03 01:34:59)

Offline

#2 2016-02-03 01:28:03

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [solved] systemd journal rotation.

man journald.conf wrote:

journalctl and systemd-journald ignore all files with names not ending with ".journal" or ".journal~", so only such files, located in the appropriate directories, are taken into account when calculating current disk usage.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-02-03 01:34:25

hussam
Member
Registered: 2006-03-26
Posts: 572
Website

Re: [solved] systemd journal rotation.

Yes, I just found that. thank you :-)

Offline

Board footer

Powered by FluxBB