You should only set file-list parametr for scan like this:
-i --file-list=/var/lib/clamav/clamavtargets.txt --max-filesize=1024M
the script put the folders you want to scan in this file ,also made log files ,so no need for log parametr :
So in script you need to add Folders you want to Scan and if you need to exclude add subfolders and set "yes" for exclude_subfolders: