View Full Version : Debug logs...and killing them.
sdabbs65
01-16-2008, 11:58 PM
is there a way to turn off all the debug logs ????
there just creating overhead and wasteing hard drive space...
i'd like to turn them off completely and then turn them on when needed.
Knightly
01-18-2008, 02:08 PM
There are places in the code where it needs ot be updated to take into account whether you are debugging or not and what level of debug certain logs are.
However, if you just care about stopping it from creating logs then all the changes you need to make are in common\debug.cpp.
I'd think you could just add a conditional to check if LogNames[id] had the word "debug" in it and not write if so.
csb4623
10-19-2010, 10:51 AM
I wrote a batch file that deletes all non-used files. It helps a lot with all the wasted files.
Pallos
10-19-2010, 12:22 PM
if you want to stop logging you can also just delete your logs directory and you will not create any more logs.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.