On 02/29/2012 07:26 AM, Lennart Poettering wrote:
You can put limits on the log size however, for example via
SystemMaxUse=64M or SystemKeepFree=500M or suchlike.
I am still getting large logs even when I set SystemMaxUse=1M, as shown
below. Do I also need to set SystemMaxFileSize?
root@argus2:~# du -sh
/run/log/journal/bd4dce8541064e29b00e90f7234b3287/system.journal
14M /run/log/journal/bd4dce8541064e29b00e90f7234b3287/system.journal
root@argus2:~# cat /etc/systemd/systemd-journald.conf
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# See system-journald.conf(5) for details
[Journal]
#Compress=yes
#RateLimitInterval=10s
#RateLimitBurst=200
SystemMaxUse=1M
#SystemKeepFree=
#SystemMaxFileSize=
#SystemMinFileSize=
#RuntimeMaxUse=
#RuntimeKeepFree=
#RuntimeMaxFileSize=
#RuntimeMinFileSize=
ForwardToSyslog=no
#ForwardToKMsg=no
#ForwardToConsole=no
#ImportKernel=yes
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel