Game Development Community

Dedicated server: is the contents of console.log in memory too ?

by Orion Elenzil · in Torque Game Engine · 03/29/2006 (3:29 pm) · 2 replies

I suspect the answer to this question is yes.

we would like to *not* store the contents of console.log in memory
because we would like our servers to be running for a long, long time, logging tasty information all the while.

tia,
orion

#1
03/31/2006 (1:53 pm)
Tried looking through console.cc? :)

Just set $Con::logBufferEnabled to false.

The logging code mostly lives in Con::_printf, around line 432.
#2
03/31/2006 (2:21 pm)
Many thanks, ben.