Debug logs...and killing them.
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. |
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. |
I wrote a batch file that deletes all non-used files. It helps a lot with all the wasted files.
|
if you want to stop logging you can also just delete your logs directory and you will not create any more logs.
|
All times are GMT -4. The time now is 10:02 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.