Author Topic: Log Files too big  (Read 1210 times)

xrichardx

  • 68 Carbine
  • Posts: 295
Log Files too big
« on: July 15, 2011, 03: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?
« Last Edit: July 15, 2011, 04:28:48 PM by xrichardx »

T3RR0R15T

  • Map Committee
  • Autococker
  • Posts: 2593
Re: Log Files too big
« Reply #1 on: July 15, 2011, 05: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.

ic3y

  • Committee Member
  • Autococker
  • Posts: 1398
Re: Log Files too big
« Reply #2 on: July 16, 2011, 02:25:26 AM »
Thats not much, learn to deal with that.