Subject: logwatch: No output / report for php error log
Package: logwatch
Version: 7.4.0+svn20120502rev103-1
Severity: normal


Hi,

when using php5-fpm in version 5.4 with logging enabled it seems that logwatch 
can't create a report for this logfiles.

When pointing logwatch 7.3.6.cvs20090906-1squeeze1 to my logfiles which i'm 
logging in /var/log/php5 it tries to create a report for clam-update (which i 
haven't installed nor are any logfiles found for this on the server).

After updating logwatch to 7.4.0+svn20120502rev103-1 this is fixed and logwatch 
don't try to create a report for clam-update but there is still no report for 
php-messages.

Using --debug High in the console doesn't show any hints and calling the:

cat /var/log/php5/php-error.log  |  /usr/bin/perl 
/usr/share/logwatch/scripts/services/php

in the console just gives no output. I can't figure out whats wrong here, maybe 
the problem is the syntax of the logging lines:

[16-Apr-2013 21:03:58 Europe/Berlin] PHP Fatal error:  Call to a member 
function GetAssoc() on a non-object in /foo/bar.php on line 1223


-- System Information:
Debian Release: 6.0.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (3, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages logwatch depends on:
ii  perl                   5.10.1-17squeeze6 Larry Wall's Practical Extraction
ii  postfix [mail-transpor 2.7.1-1+squeeze1  High-performance mail transport ag

Versions of packages logwatch recommends:
ii  libdate-manip-perl            6.11-1     module for manipulating dates

Versions of packages logwatch suggests:
ii  fortune-mod                   1:1.99.1-4 provides fortune cookies on demand

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to