aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Common/OpenSim.Framework.Console/ConsoleBase.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Common/OpenSim.Framework.Console/ConsoleBase.cs')
-rw-r--r--Common/OpenSim.Framework.Console/ConsoleBase.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/Common/OpenSim.Framework.Console/ConsoleBase.cs b/Common/OpenSim.Framework.Console/ConsoleBase.cs
index 0377998..80a28e9 100644
--- a/Common/OpenSim.Framework.Console/ConsoleBase.cs
+++ b/Common/OpenSim.Framework.Console/ConsoleBase.cs
@@ -54,6 +54,12 @@ namespace OpenSim.Framework.Console
54 this.cmdparser = cmdparser; 54 this.cmdparser = cmdparser;
55 this.m_silent = silent; 55 this.m_silent = silent;
56 System.Console.WriteLine("ServerConsole.cs - creating new local console"); 56 System.Console.WriteLine("ServerConsole.cs - creating new local console");
57
58 if( String.IsNullOrEmpty( LogFile ) )
59 {
60 LogFile = componentname + ".log";
61 }
62
57 System.Console.WriteLine("Logs will be saved to current directory in " + LogFile); 63 System.Console.WriteLine("Logs will be saved to current directory in " + LogFile);
58 Log = File.AppendText(LogFile); 64 Log = File.AppendText(LogFile);
59 Log.WriteLine("========================================================================"); 65 Log.WriteLine("========================================================================");