[systemd-devel] Documentation question
David Lambert
dave at lambsys.com
Sat Mar 3 09:29:17 PST 2012
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 at argus2:~# du -sh
/run/log/journal/bd4dce8541064e29b00e90f7234b3287/system.journal
14M /run/log/journal/bd4dce8541064e29b00e90f7234b3287/system.journal
root at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20120303/b7272d7c/attachment.htm>
More information about the systemd-devel
mailing list