Public bug reported:

Binary package hint: logrotate

Since logrotate is called from anacron via the cron.daily directory,
anything that is also located in that directory and has a name after
"logrotate", won't be able to access the logs rotated by logrotate.

I want to generate reports about my local squid3 installation and the
analysers I use are "srg" and "sarg". Since they are executed after
logrotate, the squid3 log will be empty when they run, making the whole
effort an exercise in futility and annoying me with emails such as this:

--------------------------------
/etc/cron.daily/sarg:
SARG: unexpected end of file encountered in /var/log/squid3/access.log
SARG: Keine Datensaetze gefunden
/etc/cron.daily/srg:
No logfile lines found to process!
run-parts: /etc/cron.daily/srg exited with return code 1
--------------------------------

To remedy this, /etc/cron.daily/logrotate should be run after all other
files run by anacron.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: logrotate 3.7.8-4ubuntu2
ProcVersionSignature: Ubuntu 2.6.32-22.35-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic i686
Architecture: i386
Date: Sun Jun  6 10:37:50 2010
EcryptfsInUse: Yes
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: logrotate

** Affects: logrotate (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 lucid

-- 
logrotate rotates logs before analysers can parse them
https://bugs.launchpad.net/bugs/590342
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to