Difference between revisions of "Limit the size of .log files & 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"/>
Anonymous user