Rick Macdougall wrote:

in the clamav.conf file set

Logfile /dev/stdout

The setup your multilog logging as normal.

At qscanq's website I've found some tips (http://mysite.verizon.net/vze1ypud/software/qscanq/clamdscan.html) for those who use qscanq with clamd.
From that document, I've found a patch to send logs to stderr (so multilog can capture them):


(..)
Building clamdscan

You should use version 0.70 of clamav or higher. You must download and build clamdscan, using this patch. It modifies clamd so that it can be told to log its activities to standard error, which allows multilog to capture them. The following commands should suffice:

wget http://www.pobox.com/~lbudney/software/qscanq/clamav-0.70-stderr.patch.gz
gunzip -c clamav-0.70-stderr.patch.gz | patch -p0


Finally, build and install clamav as per the included instructions. Be sure to install clamd and clamdscan, and to install and configure the Internet update daemon, freshclam.
(..)


--
                Best regards,
                Eduardo M. Bragatto.



Reply via email to