Difference between revisions of "Limit the size of .log files & the journal"
Limit the size of .log files & the journal (view source)
Revision as of 13:38, 16 August 2013
, 11 years ago→The journal & the logs duplicate the same information
imported>Handy |
imported>Handy |
||
Line 21: | Line 21: | ||
<br clear="all"/> | <br clear="all"/> | ||
= The journal & the logs duplicate the same information = | |||
You can read the text of the log files in a text editor, or using the '''cat''', '''more''', '''less''' & such commands as you would on any other text file. The journal on the other hand requires the '''journalctl''' command to be able to access its contents. The following is a good way to read the journal: | You can read the text of the log files in a text editor, or using the '''cat''', '''more''', '''less''' & such commands as you would on any other text file. The journal on the other hand requires the '''journalctl''' command to be able to access its contents. The following is a good way to read the journal: | ||
Line 28: | Line 28: | ||
<br clear="all"/> | <br clear="all"/> | ||
== How to set a maximum size limit for the journal == | == How to set a maximum size limit for the journal == | ||