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

m
instead of a dot, it should be a backslash
(Marked this version for translation)
m (instead of a dot, it should be a backslash)
Line 299: Line 299:


<!--T:95-->
<!--T:95-->
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.
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.


<!--T:96-->
<!--T:96-->
translator
11,127

edits