Author Topic: Is safe to delete logs files?  (Read 6787 times)

0 Members and 1 Guest are viewing this topic.

Offline TheOwner

  • Poster
  • *
  • Posts: 406
Is safe to delete logs files?
« on: February 22, 2017, 10:11:00 PM »
For example if i run CCleaner, it detect logs in C:\ProgramData\AVAST Software\Avast\log. My question is simple. It is safe delete those logs? Thanks

Offline Pondus

  • Probably Bot
  • ****
  • Posts: 37553
  • Not a avast user
Re: Is safe to delete logs files?
« Reply #1 on: February 22, 2017, 10:24:37 PM »
log files are just that, a log of what has happend and safe to delete


Online DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89162
  • No support PMs thanks
Re: Is safe to delete logs files?
« Reply #2 on: February 22, 2017, 10:29:22 PM »
I would tell ccleaner not to take any action on avast.

Whilst these logs could be deleted as when required they would be regenerated. But you lose all of the data contained in them, so should you experience any problem you have nothing to look at or send to the developers if requested.

If you look at most of the sizes of these log files, they are pretty small, if you are getting that short of space you are looking at an HDD drive update.

Avast does its own auto cleanup and you can set log file sizes - AvastUI > Settings > General > Maintenance - see image.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.4.6112 (build 24.4.9067.762) UI 1.0.803/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

Offline TheOwner

  • Poster
  • *
  • Posts: 406
Re: Is safe to delete logs files?
« Reply #3 on: February 22, 2017, 10:32:41 PM »
Thanks for answers. It also mean in general all logs files in system are safe to delete? It's good to know. Thank you again.

Online DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89162
  • No support PMs thanks
Re: Is safe to delete logs files?
« Reply #4 on: February 22, 2017, 10:57:06 PM »
Thanks for answers. It also mean in general all logs files in system are safe to delete? It's good to know. Thank you again.

I didn't say all (the ones in the image would appear to be OK), some might well be protected by the self-defence module. But I emphasise again the need to delete logs is pretty futile in the bigger scheme of things, massive HDDs, etc.

Yes there are occasions when a log or file can get pretty big and require attention but that I would say is an exception.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.4.6112 (build 24.4.9067.762) UI 1.0.803/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

Offline TheOwner

  • Poster
  • *
  • Posts: 406
Re: Is safe to delete logs files?
« Reply #5 on: February 22, 2017, 11:01:31 PM »
This version of Avast is ok, but in version 12 after full system scan, log about 90MB was created each time.
« Last Edit: February 22, 2017, 11:06:13 PM by TheOwner »

Online DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89162
  • No support PMs thanks
Re: Is safe to delete logs files?
« Reply #6 on: February 22, 2017, 11:19:08 PM »
This version of Avast is ok, but in version 12 after full system scan, log about 90MB was created each time.

I suspect you have changed the log file settings on the default settings it should be much smaller, my last full system scan log is 2KB.

I'm running another full scan from 17.2.2287 beta.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.4.6112 (build 24.4.9067.762) UI 1.0.803/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

Offline TheOwner

  • Poster
  • *
  • Posts: 406
Re: Is safe to delete logs files?
« Reply #7 on: February 22, 2017, 11:22:01 PM »
I don't know which log it was, but doesn't matter, now i have latest version of Avast.

Online DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89162
  • No support PMs thanks
Re: Is safe to delete logs files?
« Reply #8 on: February 22, 2017, 11:31:31 PM »
If it was after the  full system scan, then the file would be named "Full System Scan.txt" if you change the report file to report everything paranoid logging instead of the default infected items and hard errors.

Select the other three options, especially the last and it gets big very quickly.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.4.6112 (build 24.4.9067.762) UI 1.0.803/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

Offline TheOwner

  • Poster
  • *
  • Posts: 406
Re: Is safe to delete logs files?
« Reply #9 on: February 22, 2017, 11:38:47 PM »
I never touched those settings so who knows.....

Online DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89162
  • No support PMs thanks
Re: Is safe to delete logs files?
« Reply #10 on: February 22, 2017, 11:43:46 PM »
OK, I guess, as you say we will never know.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.4.6112 (build 24.4.9067.762) UI 1.0.803/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

Online DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89162
  • No support PMs thanks
Re: Is safe to delete logs files?
« Reply #11 on: February 22, 2017, 11:54:37 PM »
Creating a scan log or not wouldn't have made any difference.  I believe even if you don't have the creation of the log enabled there is still Scan History entry for some time after the scan.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.4.6112 (build 24.4.9067.762) UI 1.0.803/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

Offline TheOwner

  • Poster
  • *
  • Posts: 406
Re: Is safe to delete logs files?
« Reply #12 on: February 22, 2017, 11:59:57 PM »
AswAr1.log was that huge file. In this version has 1,5MB, but in version 12 was too huge.
« Last Edit: February 23, 2017, 03:07:23 AM by TheOwner »