Difference between revisions of "Translations:Limit the size of .log files & the journal/95/en"
From Manjaro
Views
Actions
Namespaces
Variants
Tools
(Importing a new version from external source) |
(Importing a new version from external source) |
||
Line 1: | Line 1: | ||
I use a script '''/etc | I use a script '''/etc/logrotate.d/rotate.logs''' that is set to work on all *.log files, & it does. The two that don't get rotated are called '''faillog''' & '''lastlog''' , apart from not having the '''.log''' file extension, these two files are not normal log files, they are accessed via terminal commands of the same name. |
Latest revision as of 16:21, 29 December 2022
I use a script /etc/logrotate.d/rotate.logs that is set to work on all *.log files, & it does. The two that don't get rotated are called faillog & lastlog , apart from not having the .log file extension, these two files are not normal log files, they are accessed via terminal commands of the same name.