-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 В Wed, 20 May 2015 01:18:03 +0200 "Carlos E. R." <robin.listas@telefonica.net> пишет:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2015-05-19 23:37, Felix Miata wrote:
On one TW system, freespace on / is in seriously short supply. Shrinking this log looks like would put a serious dent in the problem, if its content made any sense. It covers a span of only 27 days. /etc/logrotate.d/ has 3 zypp* files, none of which look like might allow a log to get so large. No man page for zypper.log. /var/log/messages is big too, 18M, and /var/log/pbl.log is 13M. Ideas?
Those are not that big. If it were gigabytes, nor megabytes...
Anyway. There is a systemd timer job that should run logrotate periodically. in 13.2, if the machine is not powered up at the exact required time, logs never rotate.
bor@opensuse:~> LC_ALL=C ll /var/log/zypper.log* - -rw-r----- 1 root root 13531358 May 19 19:59 /var/log/zypper.log - -rw-r----- 1 root root 4725804 Mar 12 20:51 /var/log/zypper.log-20150315.xz - -rw-r----- 1 root root 314160 Mar 28 07:40 /var/log/zypper.log-20150329.xz - -rw-r----- 1 root root 416284 Apr 18 11:04 /var/log/zypper.log-20150419.xz bor@opensuse:~> cat /etc/os-release NAME=openSUSE VERSION="13.2 (Harlequin)" This is notebook which is put to sleep at least twice a day. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlVcAwwACgkQR6LMutpd94xk5wCggYOC6aTsYkTTpyKXUy+y9AUN k4UAniAUfNSOD+OkI7PF61L6uIqJ9eis =d1hl -----END PGP SIGNATURE-----