On 06/27/13 11:14, Trevor Cooper wrote:
> I'm writing an automated daily scan script and I can't seem to get NO output
> from clamscan if/when nothing of interest is found. For example, executing 
> with...
>
>     "$CLAMSCAN_BIN" --quiet --no-summary --infected --stdout 
> --file-list="$FILE_LIST" --log="$LOG_FILE"
>
> Produces the following in the $LOG_FILE...
>
>     
> -------------------------------------------------------------------------------
>
> Once for 'each' invocation of clamscan.
>
> Is there way to disable this?
>
>
Thanks for the suggestions... The solution was to NOT use the internal logger.

    "$CLAMSCAN_BIN" --no-summary --infected --stdout --file-list="$FILE_LIST" 
>> "$LOG_FILE"

Trevor
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to