🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #302224

Re: Can the journal logs be deleted?

#302224
From: William Unruh
Date: Sun, 03 Feb 2019 02:51
24 lines
1870 bytes
On 2019-02-03, noreply@sfc.com <noreply@sfc.com> wrote:
> root@me/var/log/journal# fs
> 961M    d9a927bb8f0e49d5ac04b37ee7635bc9
> 849M    journal/bbb0ea85b2a148cd98286b3a6801a8ee
> 353M    journal/a020e2bc938143aba9ef23302ee2f102
> 8.1M    journal/f011e1d2970c4d348a39adaa7b907921
> 1.3G    journal/2b875bc9741c428088f233e199fe0682
> 1.1G    journal/f7d12af3b8fd4ac98c339516c736d4df

They are journal  logs over the last N months (look at the dates on the files
ls -l /var/log/journal. They are unreadable except with journalctl (they
are binary databases type files) You can control how much you save with 
/etc/systemd/journald.conf (man journald.conf)

For example the default is to use 10% of the partition which may be a
lot. You can decrease it if you want. If you do journalctl you can see
by the initial dates of the log and for example it is three months ago,
then you probably do not need such a large journal log.


>
>   What are they for?
>
>
Technical Details
Message-ID: <q35kvv$5af$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
References: <q35e6b$v8$1@news.neodome.i2p>

Show Full Headers
Complete Article Headers
Message-ID: <q35kvv$5af$1@dont-email.me>
Subject: Re: Can the journal logs be deleted?
Date: Sun, 03 Feb 2019 02:51:43 +0000
From: William Unruh <unruh@invalid.ca>
References: <q35e6b$v8$1@news.neodome.i2p>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
Organization: A noiseless patient Spider
Lines: 24
Injection-Date: Sun, 3 Feb 2019 02:51:43 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="1b025ebaff6228d1665c1297ebf5f377";
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:V396Ylra21rRMUSObzkIGHek4tw=
X-pugleaf-debug: badGroups=2 valid=3
Newsgroups: alt.privacy.anon-server,alt.os.linux,comp.os.linux.misc