Game Development Community

Feature Request

by Chris · in Torque 3D Professional · 08/09/2010 (11:25 pm) · 3 replies

I would like to see a feature to set the log file name for cases where multiple instances of torque -dedicated run on a single host to -log logs/whatever.log or something similar.

This seems like a pretty reasonable feature to add to me, maybe other people are firing up multiple instances out of individual folders or something to get around this.

#1
08/10/2010 (1:05 am)
On your main.cs after:
// Set the name of our application
$appName = "Your App Name";

add:
%logFile = new ConsoleLogger(logger, "testLogging.txt", false);
#2
08/10/2010 (1:53 am)
Well inserting this as a -log setting would be a simple and useful switch.

Thanks for the response.
#3
08/10/2010 (2:20 am)
The problem is that this command creates an alternative file to console.log. And in any case, the T3D start logging at the point where it was inserted the command.