Log file

Log file

Postby cdgoldin » 10.07.2019, 21:21

My .\log\download.log goes back to 2016. Is there any reason not to delete everything preceding the current few entries?
cdgoldin
 
Posts: 72
Joined: 09.03.2016, 10:14

Re: Log file

Postby boco » 10.07.2019, 21:50

Your call. My current download log goes back to 2008, the previous one from the ctupdate tool went even far more into the past. I never felt the urge to delete or truncate it. :)
Microsoft update catalog: http://catalog.update.microsoft.com/v7/site/
Windows Install media download: https://support.microsoft.com/en-us/help/15088/windows-create-installation-media
boco
 
Posts: 2391
Joined: 24.11.2009, 17:00
Location: Germany

Re: Log file

Postby Dalai » 10.07.2019, 23:22

Well, having older log files has the advantage of being able to look up how older WSUS Offline versions behaved and all that.

OTOH it's a real bummer we're talking about Windows here. In Linux it's really easy to add anything to logrotate, leaving the decision to the user how often to rotate and how long to keep the logs. Well, Windows really sucks in many aspects...

Regards
Dalai
Dalai
 
Posts: 1041
Joined: 12.07.2016, 21:00

Re: Log file

Postby boco » 10.07.2019, 23:41

Quick search revealed: https://sourceforge.net/projects/logrotatewin/

Can't vote for it, of course.
Microsoft update catalog: http://catalog.update.microsoft.com/v7/site/
Windows Install media download: https://support.microsoft.com/en-us/help/15088/windows-create-installation-media
boco
 
Posts: 2391
Joined: 24.11.2009, 17:00
Location: Germany

Re: Log file

Postby cdgoldin » 10.07.2019, 23:46

boco wrote:Your call. My current download log goes back to 2008, the previous one from the ctupdate tool went even far more into the past. I never felt the urge to delete or truncate it. :)

Well, every time I open it with Notepad to "check for errors and warnings" it takes longer and longer to open. So that's one reason.
Secondly, files that grow without limit can eventually take over the entire disk.
cdgoldin
 
Posts: 72
Joined: 09.03.2016, 10:14

Re: Log file

Postby Dalai » 11.07.2019, 00:44

cdgoldin wrote:Well, every time I open it with Notepad to "check for errors and warnings" it takes longer and longer to open. So that's one reason.

For me, that would be a reason to use an actual editor, not that concept study named Notepad. Even better, there are programs our there that deal with really large files in an instant. I, for one, use Total Commander's integrated Lister that uses memory mapping which allows to view even files of several hundred megabytes really fast.

Secondly, files that grow without limit can eventually take over the entire disk.

Why are you concerned about that? Seriously, the update files themselves are larger by orders of magnitude!

But, as was already said, it's up to you, if and when and in which intervals you delete/clear/rotate/whatever the log files.

Regards
Dalai
Dalai
 
Posts: 1041
Joined: 12.07.2016, 21:00

Re: Log file

Postby boco » 11.07.2019, 02:01

My log is currently 37.7MiB, for roughly 11 years of WOU operation. It will hardly ever fill an entire disk, for many years to go. It even fits on my smallest HDD I still have (50MB). :mrgreen:
Microsoft update catalog: http://catalog.update.microsoft.com/v7/site/
Windows Install media download: https://support.microsoft.com/en-us/help/15088/windows-create-installation-media
boco
 
Posts: 2391
Joined: 24.11.2009, 17:00
Location: Germany


Return to Download

Who is online

Users browsing this forum: No registered users and 44 guests