Package: logrotate
Version: 3.8.1-4
Severity: important
Dear Maintainer,
* What exactly did you do (or not do) that was effective (or
ineffective)?
Attempted to use /var/log/*/*.log to match /var/log/<machinename>/*.log on our
central syslog server
* What was the outcome of this action?
Logrotate only rotatated the first directory matched i.e.
/var/log/a/*.log was rotated
/var/log/b/*.log remained untouched
* What outcome did you expect instead?
All logs in all directories under /var/log to be rotated
-- Package-specific info:
Contents of /etc/logrotate.d
total 24
-rw-r--r-- 1 root root 173 Jan 25 2011 apt
-rw-r--r-- 1 root root 79 Oct 16 2010 aptitude
-rw-r--r-- 1 root root 135 Jul 30 2012 consolekit
-rw-r--r-- 1 root root 232 Jan 30 2011 dpkg
-rw-r--r-- 1 root root 515 Mar 5 2013 rsyslog
-rw-r--r-- 1 root root 191 Dec 3 09:17 winbind
-- System Information:
Debian Release: 7.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/16 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages logrotate depends on:
ii base-passwd 3.5.26
ii cron [cron-daemon] 3.0pl1-124
ii libc6 2.13-38+deb7u1
ii libpopt0 1.16-7
ii libselinux1 2.1.9-5
Versions of packages logrotate recommends:
ii bsd-mailx [mailx] 8.1.2-0.20111106cvs-1
logrotate suggests no packages.
-- Configuration Files:
/etc/logrotate.conf changed:
weekly
rotate 100
create
include /etc/logrotate.d
/var/log/wtmp {
missingok
monthly
create 0664 root utmp
rotate 1
}
/var/log/btmp {
missingok
monthly
create 0660 root utmp
rotate 1
}
"/var/log/*/*.log" {
daily
rotate 1114
create
compress
missingok
postrotate
invoke-rc.d rsyslog force-reload > /dev/null
endscript
}
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]