Avast WEBforum

Consumer Products => Avast Free Antivirus / Premium Security (legacy Pro Antivirus, Internet Security, Premier) => Topic started by: ankurk91 on November 09, 2013, 12:25:47 PM

Title: "CLEAN SCAN HISTORY" button does not clean actual scan log files
Post by: ankurk91 on November 09, 2013, 12:25:47 PM
avast 9.0.2007 free x86

AVAST "CLEAN SCAN HISTORY" does not clean actual scan log files

avast 2014 users can clean scan history via
AVAST UI>>SETTINGS>>GENERAL>>"CLEAN SCAN HISTORY" button

avast saves all scan history logs here- (if i m not wrong)-
C:\Documents and Settings\All Users\Application Data\AVAST Software\Avast\report (Windows 2000 and Windows XP )
C:\ProgramData\AVAST Software\Avast\report (Windows Vista and above )


I found that cleaning scan log via avast UI will not delete (or make them empty) the file stored on above locations.
Yes scan logs will be disappeared from "Scan history" window, but they actually resides on above location.
I have checked the files size before and after cleaning log and found they are same.



I may be wrong but if it is a bug then it should be fix.  ::)

thanks!
Title: Re: "CLEAN SCAN HISTORY" button does not clean actual scan log files
Post by: bob3160 on November 09, 2013, 01:53:16 PM
Same results on Windows 8.1 cleaning does nothing.
Reported to Mods.
Title: Re: "CLEAN SCAN HISTORY" button does not clean actual scan log files
Post by: ankurk91 on November 10, 2013, 10:30:13 AM
thanks! :) :)
waiting for a new version with a fix.
Title: Re: "CLEAN SCAN HISTORY" button does not clean actual scan log files
Post by: DavidR on November 10, 2013, 01:47:36 PM
I don't think this function ever cleared the contents of the text based logs (even in previous avast versions), it merely cleared the entries in the avastUI list. The nicely laid out information in the UI is obtained from the text based log files.

The information for the scans listed in the UI Scan History could be coming from multiple files, one for each different scan that you do, Full System Scan, Quick Scan, etc.

I don't know if you are trying to recover some disk space or not, but these text files aren't going to be that big. I have 9 .txt files in the <...>AVAST Software\Avast\report folder with a total of 450KB.
Title: Re: "CLEAN SCAN HISTORY" button does not clean actual scan log files
Post by: Callender on November 10, 2013, 06:01:25 PM
If you want to clean those files you can disable all Avast shields on a temporary basis. Then go ahead and delete them. You can add the file/ folder location to your file cleaning program and run it  or you can delete them manually. Then re-enable Avast shields.

This is not a bug. You can't delete files when they're in use. That's all there is to it.

Title: Re: "CLEAN SCAN HISTORY" button does not clean actual scan log files
Post by: ankurk91 on November 11, 2013, 04:48:55 PM
ok ! so that not a bug.
i think these files will be deleted atfer a number of days. see in image-