Massive logfile.txt

This is the place to help test and discuss Version 6 Beta releases.

Massive logfile.txt

Postby Stuart264 » Thu Apr 02, 2015 8:14 am

Quade I keep finding with B8 that its generating quite massive logfile.txt (recent examples are 1.6 and 3.4 gigabytes) that I have to go in manually and delete. Should it be doing this?
User avatar
Stuart264
Seasoned User
Seasoned User
 
Posts: 227
Joined: Sun Jun 13, 2004 8:25 am
Location: United Kingdom

Registered Newsbin User since: 04/10/04

Re: Massive logfile.txt

Postby Quade » Thu Apr 02, 2015 9:26 am

How much logging to you have turned on?

You can disable "Show server commands" for example and it'll probably grow at a much slower rate. I do have an action item to limit log file sizes the "Linux" way which is let them grow to a size, close, rename and open a new one.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44981
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Massive logfile.txt

Postby Quade » Thu Apr 02, 2015 4:06 pm

I added log trimming today. It'll allow it to grow to 10 megs, then rename it to "LogFile.txt.old" and start a new one. So the logs will never use more than 20 megs of disk space. I changed how it flushes data too so, it writes less often.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44981
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Massive logfile.txt

Postby Stuart264 » Fri Apr 03, 2015 4:38 am

Quade, firstly thanks for the quick fix and secondly "show server commands" was not enabled.
User avatar
Stuart264
Seasoned User
Seasoned User
 
Posts: 227
Joined: Sun Jun 13, 2004 8:25 am
Location: United Kingdom

Registered Newsbin User since: 04/10/04


Return to Newsbin Version 6 Beta Support

Who is online

Users browsing this forum: No registered users and 2 guests