On Sat, 17 Feb 2007, 09:07 GMT-05 Robert S. Carroll wrote:

> With the "old" clamav, I ran a daily cron job that included saving the
> scan report to a file:

> clamscan -r -l /home/scan.txt --exclude=some_files 
> --exclude=some_more_files  /home

> This worked well and the "-l" simply added the summary to the report:

> --------------------------------------
> Scan started: Sat May 13 06:00:01 2006


> -- summary --
> Known viruses: 54811
> Engine version: 0.88.1
> Scanned directories: 1696
> Scanned files: 20671
> Infected files: 0
> Data scanned: 12431.47 MB
> Time: 5989.892 sec (99 m 49 s)
> --------------------------------------

> Now the output of clamscan to the log file includes all messages! My 
> original log file is about 75kb, but grows about 700kb per night!

Use the -i switch - you should also have used it in clamscan < 0.9

regards,
rob.

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to