Digital Paint Discussion Board

Paintball 2: The Game => Server Discussion => Topic started by: xrichardx on July 15, 2011, 05:58:26 PM

Title: Log Files too big
Post by: xrichardx on July 15, 2011, 05:58:26 PM
The log file of our public is getting up to 100'000 Lines just after one week. So is there a way that Paintball deletes the begin of the file when it writes to the end? Or another way to keep the logfile small? If i just write a program that deletes the first xxxxx Lines, Paintball wont log because the file has changed. The Server should be up 24/7, so restart it every day that the logfile resets isn't a solution.

So: how to keep the logfile small?
Title: Re: Log Files too big
Post by: T3RR0R15T on July 15, 2011, 07:07:59 PM
If you want to delete some lines each day, it is easier to turn the logging off. But 100.000 lines / week is ok. That's not very much. Our speed server has around 1.800.000 lines / month.
Title: Re: Log Files too big
Post by: ic3y on July 16, 2011, 04:25:26 AM
Thats not much, learn to deal with that.