Disabling the console
by Bruno · in Torque Game Builder · 10/19/2005 (9:47 am) · 9 replies
That's it :)
Each time i run t2d.exe, he writes the log to the console.txt ., sometimes hundreds of mb in a log, slowing down the application, how can i disable writting to the log ?
thanks,
Bruno
Each time i run t2d.exe, he writes the log to the console.txt ., sometimes hundreds of mb in a log, slowing down the application, how can i disable writting to the log ?
thanks,
Bruno
About the author
#2
10/19/2005 (10:39 am)
Thanks Luke :)
#3
Instead of turning off debugging, you should probably analyze the problems being reported and fix them instead!
10/19/2005 (10:58 am)
The question is though, what is it being written? There is no reason 100's of mb's should be written to the log file unless you have some serious issues with your project...Instead of turning off debugging, you should probably analyze the problems being reported and fix them instead!
#4
I had a huge output in the console, but i tought it was just warnings, but i just found out that if i restarted the game
about 3 times without exit, those warnings were actually crippling the game eating resources to a point of the game running at 1 fps..,
I got rid of them, and the console is now clean..,
thanks guys
10/19/2005 (4:03 pm)
You were absolutely right Stephen, actually it was more serious than i initial tought.I had a huge output in the console, but i tought it was just warnings, but i just found out that if i restarted the game
about 3 times without exit, those warnings were actually crippling the game eating resources to a point of the game running at 1 fps..,
I got rid of them, and the console is now clean..,
thanks guys
#5
10/19/2005 (4:12 pm)
Recently I had a problem where my TGE game locked up and crashed, I then looked at my console log, was 87MB... lol it definately can get too big for the engine to handle.
#6
10/23/2005 (11:12 pm)
BTW will taking out the key bind for tilde ~ to console. Well that will keep it from pulling down in game right?
#7
I wouldn't want to setLogMode(0) even for a production game because that could be useful debugging info for users to send mail (or have the game post back via http)
10/24/2005 (4:54 am)
What uses up all the memory, having a large console.log file, or actually ~ opening the console and viewing it in the engine?I wouldn't want to setLogMode(0) even for a production game because that could be useful debugging info for users to send mail (or have the game post back via http)
#8
for cosmetic reasons.
10/24/2005 (9:44 pm)
I don't care about memory hence the BTW meaning I was going a tad off topic. I want to hide itfor cosmetic reasons.
#9
10/24/2005 (9:52 pm)
Yep I am pretty sure if you unbind the ~ key there is no other way to pop open the console.
Torque 3D Owner Luke D
Default Studio Name