Jump to content
  • 0

Preventing .log files from gettting too big?


DY357LX

Question

Hi all.

I try to encourage my other Admins to clear out the .log files once every 2 weeks or so but it's amazing how often they "forget".

(We often get createVehicle.log files around 100meg and I think that kinda things slows down traders.)

 

Anyway, is there a script I can use to auto-delete them every X days or is there a line in the createVehicle.txt etc files that prevent excessive logging?

 

My createVehicle.txt currently looks like this:
 

//new
5 "SeaGull"
1 "" !"WeaponHolder"
5 "box" !="DebugBoxPlayer_DZ" !"MedBox" !="AmmoBoxSmall_556" !="AmmoBoxSmall_762" !="ItemMatchbox" !="ItemToolbox" !="CardBoardBox" !="FoodBox1" !="FoodBox2" !="FoodBox3" !="LockboxStorageLocked" !="LockboxStorage" !="WeaponHolder_ItemLockbox" !="FoodBox0"
5 "BasicWeapons"
5 "SpecialWeapons"
5 "FunctionsManager"
5 "M_Vikhr_AT"
5 "M_Hellfire_AT"
5 "Logic"
5 "snowman"

Can I change that 1 to a 2? Or will that break things?

 

Thanks.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

heres the link to the rotate logs .bat

https://github.com/vbawol/DayZ-Epoch/blob/master/Server%20Files/Tools/rotate_logs.bat

 

Battle eye logging info

 

1 = Log to .log file only
2 = Log to console/RCON only
3 = Log to both
4 = Silent kick
5 = Kick and log to .log file
6 = Kick and log to console
7 = Kick and log to both
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Discord

×
×
  • Create New...