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

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

From Manjaro
imported>Handy
imported>Handy
Line 9: Line 9:
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 and such machines, have need to keep such huge log files or histories going back for many months or even years on their system. They are a waste of space & also makes viewing your log files more cumbersome.  
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 and such machines, have need to keep such huge log files or histories going back for many months or even years on their system. They are a waste of space & also makes viewing your log files more cumbersome.  


<br clear="all"/>  
<br clear="all"/>
 
==== The first topic on this page will briefly cover the '''systemd journal''' ====
==== The first topic on this page will briefly cover the '''systemd journal''' ====


Line 24: Line 25:
  wtmp
  wtmp


<br clear="all"/>  
<br clear="all"/>
 
==== The second topic will cover handling log files ====
==== The second topic will cover handling log files ====


Line 149: Line 151:
Currently I'm running my system with '''syslog-ng''' (& its dependency) deleted. I deleted all of the log files from the /var/log directory (leaving any that are in their own sub-directories), except for Xorg.0.log , Xorg.0.old , lastlog , btmp & wtmp, (pacman.log turned up when pacman was used, depending on what you have installed on your system, you may have applications that create their own logs - which can be turned off - too).
Currently I'm running my system with '''syslog-ng''' (& its dependency) deleted. I deleted all of the log files from the /var/log directory (leaving any that are in their own sub-directories), except for Xorg.0.log , Xorg.0.old , lastlog , btmp & wtmp, (pacman.log turned up when pacman was used, depending on what you have installed on your system, you may have applications that create their own logs - which can be turned off - too).


<br clear="all"/>
= Managing /var/log/* files =
= Managing /var/log/* files =


Cookies help us deliver our services. By using our services, you agree to our use of cookies.