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 23:12, 17 February 2017
, 7 years ago→How to set a maximum size limit for the journal
imported>Handy |
imported>Handy |
||
Line 56: | Line 56: | ||
SystemMaxUse=250M | SystemMaxUse=250M | ||
SystemMaxFileSize=50M | SystemMaxFileSize=50M | ||
You can also help to limit the size of the journal by specifying the level of the data to be added to the journal. This is done by editing '''/etc/systemd/journald.conf.d/level.conf''' | |||
[Journal] | |||
# not save all levels but only 0 to 4 | |||
MaxLevelStore=warning | |||
<br clear="all"/> | <br clear="all"/> |