Package: logrotate Version: 3.7.1-3 Severity: normal *** Please type your report below this line *** According to the source code, logrotate passes the name of the log file (different file names at different script types) to the scripts, but this isn't mentioned anywere in the documentation. It would be useful to see this documented, together with a description of which file name is passed to each script.
-- Package-specific info: Contents of /etc/logrotate.d total 60 -rw-r--r-- 1 root root 240 2007-02-05 21:18 apache2 -rw-r--r-- 1 root root 79 2005-04-07 23:43 aptitude -rw-r--r-- 1 root root 384 2006-06-12 04:25 base-config -rw-r--r-- 1 root root 123 2007-01-17 17:32 cacti -rw-r--r-- 1 root root 65 2006-10-21 01:35 cricket -rw-r--r-- 1 root root 245 2007-02-03 00:20 cupsys -rw-r--r-- 1 root root 111 2007-01-02 10:02 dpkg -rw-r--r-- 1 root root 273 2007-01-20 20:46 exim4-base -rw-r--r-- 1 root root 74 2006-09-25 13:03 mrtg -rw-r--r-- 1 root root 869 2007-02-22 11:05 mysql-server -rw-r--r-- 1 root root 165 2007-03-05 09:56 nagios2-common -rw-r--r-- 1 root root 94 2007-03-05 04:21 ppp -rw-r--r-- 1 root root 330 2007-02-01 08:00 samba -rw-r--r-- 1 root root 68 2005-04-17 20:00 scrollkeeper -rw-r--r-- 1 root root 333 2007-01-22 19:51 xdm -- System Information: Debian Release: 4.0 APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: i386 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-4-amd64 Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Versions of packages logrotate depends on: ii base-passwd 3.5.11 Debian base system master password ii cron 3.0pl1-100 management of regular background p ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries ii libpopt0 1.10-3 lib for parsing cmdline parameters ii libselinux1 1.32-3 SELinux shared libraries Versions of packages logrotate recommends: ii mailx 1:8.1.2-0.20050715cvs-1 A simple mail user agent -- no debconf information