Difference between revisions of "Limit the size of .log files & the journal"
Views
Actions
Namespaces
Variants
Tools
Limit the size of .log files & the journal (view source)
Revision as of 23:43, 13 August 2013
, 10 years ago→Introduction
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 | 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 = | ||