Author Topic: SIze of Data Logs is of concern  (Read 2704 times)

0 Members and 1 Guest are viewing this topic.

Offline Zippity

  • Newbie
  • *
  • Posts: 1
SIze of Data Logs is of concern
« on: October 15, 2008, 07:47:36 AM »
I have been a happy user of avast! for several years and am currently running version 4.8 Professional.

I notice that my data logs are forever increasing in size. My setup log is some 29,854 KB  ???

How do I go about making these logs just record data for just the last few days or the last month?

Offline DavidR

  • Avast √úberevangelist
  • Certainly Bot
  • *****
  • Posts: 82434
  • No support PMs thanks
Re: SIze of Data Logs is of concern
« Reply #1 on: October 15, 2008, 01:52:57 PM »
You can set the max log file size in Program Settings, Logging, Log file size limit, I have mine set at 128KB Though the setup.log in the Setup folder doesn't seem to conform (nor does the one in the Data\Log\ folder) to that as mine is 1,455KB dating from 09 July 2008 when it was installed on my new system.

I would imagine that you could edit using notepad (Cut some of the content) or rename the setup.log file/s to setupold.log that should generate a new log on reboot and then delete the renamed file. However, to do that you would first need to disable the self-defence module do the task and enable it again.

I just did a quick test to cut everything out of my setup.log files leaving only the last few days worth of data. I guess you have to be careful to have the start of the file at the start of a new day and no blank lines before that, so perhaps the rename option would be better as you can undo the rename if required.
WinXP ProSP3/ Core2Duo E8300/ 4GB Ram/ avast! free 18.5.2342/ Firefox ESR, uBlock Origin, uMatrix/ MailWasher Pro7.11.0/ DropMyRights/ WinPatrol+/ Drive Image 7.1/ SnagIt 10.0/ avast! mobile security
Windows 10 Home 1909 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 19.8.2393 (build 19.8.4793.544) UI-1.0.415/ WinPatrol+/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro7.11.0/ WinPatrol+/

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67269
Re: SIze of Data Logs is of concern
« Reply #2 on: October 15, 2008, 03:38:15 PM »
avast housekeeping is not good... they should improve it in version 5: log sizes, crash dumps, reports, etc.
The best things in life are free.

Offline MikeBCda

  • Avast Evangelist
  • Super Poster
  • ***
  • Posts: 2251
Re: SIze of Data Logs is of concern
« Reply #3 on: October 15, 2008, 07:22:43 PM »
I'll typically trim setup.log (there's two of them, in separate sub-folders) down to the last couple of weeks or so, once or twice a month.  I doubt if I'd ever need more than that for typical trouble-shooting.

And as David noted, you'll have to temporarily turn off the self-protection to save the edited file.
Intel Atom D2700, 2 gig RAM, Win 7 x64 SP1 & IE-11, Firefox 51.0
(default). 320 gig HD, 15Mb DSL, Win firewall, Avast 12.3.2280 free, SpywareBlaster, MBAM Prem., Crypto-Prevent

Offline DavidR

  • Avast √úberevangelist
  • Certainly Bot
  • *****
  • Posts: 82434
  • No support PMs thanks
Re: SIze of Data Logs is of concern
« Reply #4 on: October 15, 2008, 08:16:37 PM »
avast housekeeping is not good... they should improve it in version 5: log sizes, crash dumps, reports, etc.

It would be good if the log file settings in the avast! Program Settings, Logging section also applied to the setup.log files, it would save a whole lot of hassle...
WinXP ProSP3/ Core2Duo E8300/ 4GB Ram/ avast! free 18.5.2342/ Firefox ESR, uBlock Origin, uMatrix/ MailWasher Pro7.11.0/ DropMyRights/ WinPatrol+/ Drive Image 7.1/ SnagIt 10.0/ avast! mobile security
Windows 10 Home 1909 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 19.8.2393 (build 19.8.4793.544) UI-1.0.415/ WinPatrol+/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro7.11.0/ WinPatrol+/