<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
On 02/29/2012 07:26 AM, Lennart Poettering wrote:
<blockquote cite="mid:20120229132607.GC9253@tango.0pointer.de"
type="cite"><br>
<pre wrap="">
You can put limits on the log size however, for example via
SystemMaxUse=64M or SystemKeepFree=500M or suchlike.
</pre>
</blockquote>
I am still getting large logs even when I set SystemMaxUse=1M, as
shown below. Do I also need to set SystemMaxFileSize?<br>
<br>
root@argus2:~# du -sh
/run/log/journal/bd4dce8541064e29b00e90f7234b3287/system.journal <br>
<font color="#ff0000">14M</font>
/run/log/journal/bd4dce8541064e29b00e90f7234b3287/system.journal<br>
<br>
<br>
root@argus2:~# cat /etc/systemd/systemd-journald.conf<br>
<br>
# This file is part of systemd.<br>
#<br>
# systemd is free software; you can redistribute it and/or modify
it<br>
# under the terms of the GNU General Public License as published by<br>
# the Free Software Foundation; either version 2 of the License, or<br>
# (at your option) any later version.<br>
#<br>
# See system-journald.conf(5) for details<br>
<br>
[Journal]<br>
#Compress=yes<br>
#RateLimitInterval=10s<br>
#RateLimitBurst=200<br>
SystemMaxUse=1M<br>
#SystemKeepFree=<br>
#SystemMaxFileSize=<br>
#SystemMinFileSize=<br>
#RuntimeMaxUse=<br>
#RuntimeKeepFree=<br>
#RuntimeMaxFileSize=<br>
#RuntimeMinFileSize=<br>
ForwardToSyslog=no<br>
#ForwardToKMsg=no<br>
#ForwardToConsole=no<br>
#ImportKernel=yes<br>
<br>
</body>
</html>