Page 1 of 2

Mobius netLog cleaner

Posted: Sat Feb 18, 2017 10:32 pm
by Beer Lover
Soooo,

Couple of days ago. I've got a message that my tiny SSD is getting out of space...
As I recall, there was no install spree from my side, hmmm, maybe win 10 (ob)used some space for updates, grrrr.
Ok, did check dir sizes, aaaand conclusion : Elite dangerous log directory is over 11GB !!!
Checked log files (which are over 180MB big), and found a loot of lines with user info messages, which are written (probably)
every time I log in, and since our group is huge, log files are huge too :)

TL;DR

Botched-up small app in C# to delete those offending lines.

Just drop the .exe in ED log directory, usually "c:\Program Files (x86)\Steam\SteamApps\common\Elite Dangerous\Products\elite-dangerous-64\Logs\"
Run it from there, check if You want to back-up logs, and click on RUN.
All is left , is to enjoy newly acquired disk space :P

One version has built in ZIP, so Backup option means that the files are zipped in Backups directory under the logs directory.
It requires .NET 4.5 , as it uses it's ZIP functionality.
► Show Spoiler


Second version, if You select backup, just copies original files in Backups directory under the logs directory.
It requires .NET 3.5.
► Show Spoiler


No animals were hurt during making this apps, only moderate amount of beverage was sacrificed to the coding gods...

Link to files, and sources:
https://www.dropbox.com/sh/vsf94sinerc9 ... 4haRa?dl=0

Of course, proceed with caution. it is badly written, no error checks and stuff.
It might just delete all Your files, Your dog can start behaving strangely, and beer cans seem to start disappearing...

Re: Mobius netLog cleaner

Posted: Sat Feb 18, 2017 11:41 pm
by JustSomeGuy
I do not have my Elite on Steam, but I took a look at my logs;
\Frontier\EDLaunch\Products\elite-dangerous-64\Logs --- size 2.3gb. Oldest files are from December 2015.

Thanks for the tip, going to do some cleanup as well.

Re: Mobius netLog cleaner

Posted: Sun Feb 19, 2017 10:04 am
by Walter
Beer Lover wrote: Elite dangerous log directory is over 11GB !!!
Checked log files (which are over 180MB big), and found a loot of lines with user info messages, which are written (probably)
every time I log in, and since our group is huge, log files are huge too :)

From telling us practically nothing, FD has gone to recording a journal file that contains all the inane chuntering of NPCs that can't tell the difference between private and public comms channels.

Who really needs to know, apart from those on the voyage, that the best Beluga in the galaxy is going to be late due to unforeseen circumstances? And why should the entire population of a system be asked by some socially incompetent ** to contribute towards unformulated wedding vows?

And why should we have to record such drek? This isn't Discord!

More balancing required.

Re: Mobius netLog cleaner

Posted: Sun Feb 19, 2017 10:11 am
by smartroad
Elite needs to delete old logs, or at least have the option to set a time length before removing/archiving them. At the end of the day do you need files from a few months back often?

Re: Mobius netLog cleaner

Posted: Sun Feb 19, 2017 11:07 am
by JohnLuke
Humm.... good info. I just checked my log folder.... 1,908 files, 9.29 GB.

WOW! :o :shock:

Re: Mobius netLog cleaner

Posted: Sun Feb 19, 2017 2:36 pm
by evovi
Checked mine and only a few hundred mb's I did reinstall it a few month ago tho, and I was experiencing getting into the low gb's of storage and wondering why :) I'll keep my eye on it now - thanks

Re: Mobius netLog cleaner

Posted: Sun Feb 19, 2017 3:17 pm
by Cmdr Kharma
JohnLuke wrote:Humm.... good info. I just checked my log folder.... 1,908 files, 9.29 GB.

WOW! :o :shock:



You would not believe the size of the A-Team logs when trying to sort out a problem with FD......

Plus don't forget Beta testing automatically turns on all options....

Last beta logs for me are 12.75 Gig........

Re: Mobius netLog cleaner

Posted: Sun Feb 19, 2017 3:24 pm
by Xebeth
11GB ish, only 1.1TB left of free space, I may not worry just yet ;)

Re: Mobius netLog cleaner

Posted: Sun Feb 19, 2017 3:53 pm
by JohnLuke
Cmdr Kharma wrote:Plus don't forget Beta testing automatically turns on all options....

Last beta logs for me are 12.75 Gig........


Humm.... I didn't even think of the log files in the other folders. I hadn't spent much time in the betas so I don't have a lot of files in there, but it's certainly something to be aware of.

Re: Mobius netLog cleaner

Posted: Sun Feb 19, 2017 6:32 pm
by Beer Lover
It should not matter, if it is beta or not (ok it might be a bit bigger).
The main culprit are lines like :
► Show Spoiler

For EVERY user in Your friends list... which is a lot :)
and...
this list is saved in logs EVERY time You log in to the game...

This means, if You are playing the game as usual (khm relogging khm), one gets gigabytes of logs :P