ClamAV module logging changed in 4.62
MailScanner at ecs.soton.ac.uk
Wed Aug 8 15:07:50 IST 2007
Joshua Hirsh wrote:
>> Ok I had a look this morning and the only reason I can see
>> would be having the display scanner name set to no. And
>> BTW, The Sohpos scanner name is hard coded so it would
>> display regardless. The setting in MailScanner.conf you
>> are looking for is: Include Scanner Name In Reports = and
>> it is probably set to no and should be set to yes.
> This value has always been set to yes on my server, but the ClamAV name
> stopped showing up anyways..
> The bug is on line 1439 of SweepViruses.pm (in the
> ProcessClamAVModOutput subroutine). If you change this line:
> MailScanner::Log::InfoLog("$Name::%s", $logout);
> to this line:
> MailScanner::Log::InfoLog($Name . "::%s", $logout);
> The name will display properly in the logs. However, this may not be the
> "proper" fix, and it may still exist in other areas. In a quick test, it
> fixed it for me..
It happens on line 1431 as well, same fix with do the trick.
These fixes will be in the next release. Thanks for spotting them!
Julian Field MEng CITP
Buy the MailScanner book at www.MailScanner.info/store
Need help customising MailScanner?
Need help fixing or optimising your systems?
Need help getting you started solving new requirements from your boss?
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit www.transtec.co.uk
More information about the MailScanner