Difference between revisions of "Limit the size of .log files & the journal"

imported>Handy
imported>Handy
Line 1: Line 1:
= Introduction =
= Introduction =


Few users who run distros on their desktop, Notebook, Netbook... machines, need to keep huge log files that go back for many months or even years, on their system, it is a waste of space & also makes viewing your log files slower than need be.
Generally only server administrators have use for logs that go back any length of time. Few users who run distros on their desktop, Notebook, Netbook... machines, need to keep such huge log files, histories going back for many months or even years, on their system, are a waste of space & also makes viewing your log files more cumbersome.  


The systemd journal has taken the place of log files though it has an option for the standard type log files to be created & maintained in the usual fashion, which is the way that Manjaro is set to use.
The systemd journal has taken the place of log files though it has an option for the standard type log files to be created & maintained in the usual fashion, which is the way that Manjaro is set to use. Unfortunately there are still plenty of bugs in systemd & using the following method for limiting the size of the /var/log/journal/* works for some & not others, it also works more effectively for some & somewhat effectively for others... That will eventually change.


<br clear="all"/>
<br clear="all"/>
= The journal & the logs duplicate the same information =
= The journal & the logs duplicate the same information =


Anonymous user