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 00:39, 24 March 2014
, 10 years ago→The first topic on this page will briefly cover the systemd journal
imported>Richard m (→Introduction) |
imported>Handy |
||
Line 12: | Line 12: | ||
==== The first topic on this page will briefly cover the '''systemd journal''' ==== | ==== The first topic on this page will briefly cover the '''systemd journal''' ==== | ||
The systemd journal has taken the place of log files though it will happily run in parallel with the standard type log files. These are still created & maintained by default in Arch & Manjaro | The systemd journal has taken the place of log files though it will happily run in parallel with the standard type log files. These are still created & maintained by default in Arch & Manjaro. If you delete syslog-ng & all of the /var/log/*log files on reboot you will find that some log files will be automatically created again. On my machine after having deleted syslog-ng & all of the /var/log/*.log files (except for the Xorg.0.log files), my machine now has the following (wtmp & btmp are created on boot by the /etc/logrotate.conf file) contents in my /var/log/ : | ||
journal/ | |||
squid/ | |||
Xorg.0.log | |||
Xorg.0.log.old | |||
btmp | |||
faillog | |||
lastlog | |||
pacman.log | |||
wtmp | |||
==== The second topic will cover handling log files ==== | ==== The second topic will cover handling log files ==== |