aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Common/OpenSim.Framework
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Common/OpenSim.Framework.Console/LogBase.cs (renamed from Common/OpenSim.Framework.Console/ConsoleBase.cs)20
-rw-r--r--Common/OpenSim.Framework.Console/MainLog.cs (renamed from Common/OpenSim.Framework.Console/MainConsole.cs)6
-rw-r--r--Common/OpenSim.Framework.Console/OpenSim.Framework.Console.csproj31
-rw-r--r--Common/OpenSim.Framework/Types/NetworkServersInfo.cs12
-rw-r--r--Common/OpenSim.Framework/Types/RegionInfo.cs40
5 files changed, 52 insertions, 57 deletions
diff --git a/Common/OpenSim.Framework.Console/ConsoleBase.cs b/Common/OpenSim.Framework.Console/LogBase.cs
index 80a28e9..b625b75 100644
--- a/Common/OpenSim.Framework.Console/ConsoleBase.cs
+++ b/Common/OpenSim.Framework.Console/LogBase.cs
@@ -41,14 +41,14 @@ namespace OpenSim.Framework.Console
41 EXTRAVERBOSE 41 EXTRAVERBOSE
42 } 42 }
43 43
44 public class ConsoleBase 44 public class LogBase
45 { 45 {
46 StreamWriter Log; 46 StreamWriter Log;
47 public conscmd_callback cmdparser; 47 public conscmd_callback cmdparser;
48 public string componentname; 48 public string componentname;
49 private bool m_silent; 49 private bool m_silent;
50 50
51 public ConsoleBase(string LogFile, string componentname, conscmd_callback cmdparser, bool silent ) 51 public LogBase(string LogFile, string componentname, conscmd_callback cmdparser, bool silent )
52 { 52 {
53 this.componentname = componentname; 53 this.componentname = componentname;
54 this.cmdparser = cmdparser; 54 this.cmdparser = cmdparser;
@@ -77,19 +77,7 @@ namespace OpenSim.Framework.Console
77 Notice(format,args); 77 Notice(format,args);
78 return; 78 return;
79 } 79 }
80 80
81 [Obsolete("WriteLine(msg,args) has been depreciated, use WriteLine(priority,msg,args) instead.")]
82 public void WriteLine(string format, params object[] args)
83 {
84 Log.WriteLine(format, args);
85 Log.Flush();
86 if (!m_silent)
87 {
88 System.Console.WriteLine(format, args);
89 }
90 return;
91 }
92
93 public void WriteLine(LogPriority importance, string format, params object[] args) 81 public void WriteLine(LogPriority importance, string format, params object[] args)
94 { 82 {
95 Log.WriteLine(format, args); 83 Log.WriteLine(format, args);
@@ -226,7 +214,7 @@ namespace OpenSim.Framework.Console
226 cmdparser.Show(ShowWhat); 214 cmdparser.Show(ShowWhat);
227 } 215 }
228 216
229 public void MainConsolePrompt() 217 public void MainLogPrompt()
230 { 218 {
231 string[] tempstrarray; 219 string[] tempstrarray;
232 string tempstr = this.CmdPrompt(this.componentname + "# "); 220 string tempstr = this.CmdPrompt(this.componentname + "# ");
diff --git a/Common/OpenSim.Framework.Console/MainConsole.cs b/Common/OpenSim.Framework.Console/MainLog.cs
index 01aa3d1..d7f945e 100644
--- a/Common/OpenSim.Framework.Console/MainConsole.cs
+++ b/Common/OpenSim.Framework.Console/MainLog.cs
@@ -29,11 +29,11 @@ using System;
29 29
30namespace OpenSim.Framework.Console 30namespace OpenSim.Framework.Console
31{ 31{
32 public class MainConsole { 32 public class MainLog {
33 33
34 private static ConsoleBase instance; 34 private static LogBase instance;
35 35
36 public static ConsoleBase Instance 36 public static LogBase Instance
37 { 37 {
38 get 38 get
39 { 39 {
diff --git a/Common/OpenSim.Framework.Console/OpenSim.Framework.Console.csproj b/Common/OpenSim.Framework.Console/OpenSim.Framework.Console.csproj
index 7af0eca..fef5108 100644
--- a/Common/OpenSim.Framework.Console/OpenSim.Framework.Console.csproj
+++ b/Common/OpenSim.Framework.Console/OpenSim.Framework.Console.csproj
@@ -1,4 +1,4 @@
1<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 1<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2 <PropertyGroup> 2 <PropertyGroup>
3 <ProjectType>Local</ProjectType> 3 <ProjectType>Local</ProjectType>
4 <ProductVersion>8.0.50727</ProductVersion> 4 <ProductVersion>8.0.50727</ProductVersion>
@@ -6,7 +6,8 @@
6 <ProjectGuid>{A7CD0630-0000-0000-0000-000000000000}</ProjectGuid> 6 <ProjectGuid>{A7CD0630-0000-0000-0000-000000000000}</ProjectGuid>
7 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> 7 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
8 <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> 8 <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
9 <ApplicationIcon></ApplicationIcon> 9 <ApplicationIcon>
10 </ApplicationIcon>
10 <AssemblyKeyContainerName> 11 <AssemblyKeyContainerName>
11 </AssemblyKeyContainerName> 12 </AssemblyKeyContainerName>
12 <AssemblyName>OpenSim.Framework.Console</AssemblyName> 13 <AssemblyName>OpenSim.Framework.Console</AssemblyName>
@@ -15,9 +16,11 @@
15 <DefaultTargetSchema>IE50</DefaultTargetSchema> 16 <DefaultTargetSchema>IE50</DefaultTargetSchema>
16 <DelaySign>false</DelaySign> 17 <DelaySign>false</DelaySign>
17 <OutputType>Library</OutputType> 18 <OutputType>Library</OutputType>
18 <AppDesignerFolder></AppDesignerFolder> 19 <AppDesignerFolder>
20 </AppDesignerFolder>
19 <RootNamespace>OpenSim.Framework.Console</RootNamespace> 21 <RootNamespace>OpenSim.Framework.Console</RootNamespace>
20 <StartupObject></StartupObject> 22 <StartupObject>
23 </StartupObject>
21 <FileUpgradeFlags> 24 <FileUpgradeFlags>
22 </FileUpgradeFlags> 25 </FileUpgradeFlags>
23 </PropertyGroup> 26 </PropertyGroup>
@@ -28,7 +31,8 @@
28 <ConfigurationOverrideFile> 31 <ConfigurationOverrideFile>
29 </ConfigurationOverrideFile> 32 </ConfigurationOverrideFile>
30 <DefineConstants>TRACE;DEBUG</DefineConstants> 33 <DefineConstants>TRACE;DEBUG</DefineConstants>
31 <DocumentationFile></DocumentationFile> 34 <DocumentationFile>
35 </DocumentationFile>
32 <DebugSymbols>True</DebugSymbols> 36 <DebugSymbols>True</DebugSymbols>
33 <FileAlignment>4096</FileAlignment> 37 <FileAlignment>4096</FileAlignment>
34 <Optimize>False</Optimize> 38 <Optimize>False</Optimize>
@@ -37,7 +41,8 @@
37 <RemoveIntegerChecks>False</RemoveIntegerChecks> 41 <RemoveIntegerChecks>False</RemoveIntegerChecks>
38 <TreatWarningsAsErrors>False</TreatWarningsAsErrors> 42 <TreatWarningsAsErrors>False</TreatWarningsAsErrors>
39 <WarningLevel>4</WarningLevel> 43 <WarningLevel>4</WarningLevel>
40 <NoWarn></NoWarn> 44 <NoWarn>
45 </NoWarn>
41 </PropertyGroup> 46 </PropertyGroup>
42 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> 47 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
43 <AllowUnsafeBlocks>False</AllowUnsafeBlocks> 48 <AllowUnsafeBlocks>False</AllowUnsafeBlocks>
@@ -46,7 +51,8 @@
46 <ConfigurationOverrideFile> 51 <ConfigurationOverrideFile>
47 </ConfigurationOverrideFile> 52 </ConfigurationOverrideFile>
48 <DefineConstants>TRACE</DefineConstants> 53 <DefineConstants>TRACE</DefineConstants>
49 <DocumentationFile></DocumentationFile> 54 <DocumentationFile>
55 </DocumentationFile>
50 <DebugSymbols>False</DebugSymbols> 56 <DebugSymbols>False</DebugSymbols>
51 <FileAlignment>4096</FileAlignment> 57 <FileAlignment>4096</FileAlignment>
52 <Optimize>True</Optimize> 58 <Optimize>True</Optimize>
@@ -55,10 +61,11 @@
55 <RemoveIntegerChecks>False</RemoveIntegerChecks> 61 <RemoveIntegerChecks>False</RemoveIntegerChecks>
56 <TreatWarningsAsErrors>False</TreatWarningsAsErrors> 62 <TreatWarningsAsErrors>False</TreatWarningsAsErrors>
57 <WarningLevel>4</WarningLevel> 63 <WarningLevel>4</WarningLevel>
58 <NoWarn></NoWarn> 64 <NoWarn>
65 </NoWarn>
59 </PropertyGroup> 66 </PropertyGroup>
60 <ItemGroup> 67 <ItemGroup>
61 <Reference Include="System" > 68 <Reference Include="System">
62 <HintPath>System.dll</HintPath> 69 <HintPath>System.dll</HintPath>
63 <Private>False</Private> 70 <Private>False</Private>
64 </Reference> 71 </Reference>
@@ -69,13 +76,13 @@
69 <Compile Include="AssemblyInfo.cs"> 76 <Compile Include="AssemblyInfo.cs">
70 <SubType>Code</SubType> 77 <SubType>Code</SubType>
71 </Compile> 78 </Compile>
72 <Compile Include="ConsoleBase.cs"> 79 <Compile Include="LogBase.cs">
73 <SubType>Code</SubType> 80 <SubType>Code</SubType>
74 </Compile> 81 </Compile>
75 <Compile Include="ConsoleCallbacksBase.cs"> 82 <Compile Include="ConsoleCallbacksBase.cs">
76 <SubType>Code</SubType> 83 <SubType>Code</SubType>
77 </Compile> 84 </Compile>
78 <Compile Include="MainConsole.cs"> 85 <Compile Include="MainLog.cs">
79 <SubType>Code</SubType> 86 <SubType>Code</SubType>
80 </Compile> 87 </Compile>
81 </ItemGroup> 88 </ItemGroup>
@@ -86,4 +93,4 @@
86 <PostBuildEvent> 93 <PostBuildEvent>
87 </PostBuildEvent> 94 </PostBuildEvent>
88 </PropertyGroup> 95 </PropertyGroup>
89</Project> 96</Project> \ No newline at end of file
diff --git a/Common/OpenSim.Framework/Types/NetworkServersInfo.cs b/Common/OpenSim.Framework/Types/NetworkServersInfo.cs
index 10df820..0cf0ea6 100644
--- a/Common/OpenSim.Framework/Types/NetworkServersInfo.cs
+++ b/Common/OpenSim.Framework/Types/NetworkServersInfo.cs
@@ -59,7 +59,7 @@ namespace OpenSim.Framework.Types
59 attri = configData.GetAttribute("GridServerURL"); 59 attri = configData.GetAttribute("GridServerURL");
60 if (attri == "") 60 if (attri == "")
61 { 61 {
62 this.GridURL = OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Grid server URL", "http://127.0.0.1:8001/"); 62 this.GridURL = OpenSim.Framework.Console.MainLog.Instance.CmdPrompt("Grid server URL", "http://127.0.0.1:8001/");
63 configData.SetAttribute("GridServerURL", this.GridURL); 63 configData.SetAttribute("GridServerURL", this.GridURL);
64 } 64 }
65 else 65 else
@@ -72,7 +72,7 @@ namespace OpenSim.Framework.Types
72 attri = configData.GetAttribute("GridSendKey"); 72 attri = configData.GetAttribute("GridSendKey");
73 if (attri == "") 73 if (attri == "")
74 { 74 {
75 this.GridSendKey = OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Key to send to grid server", "null"); 75 this.GridSendKey = OpenSim.Framework.Console.MainLog.Instance.CmdPrompt("Key to send to grid server", "null");
76 configData.SetAttribute("GridSendKey", this.GridSendKey); 76 configData.SetAttribute("GridSendKey", this.GridSendKey);
77 } 77 }
78 else 78 else
@@ -85,7 +85,7 @@ namespace OpenSim.Framework.Types
85 attri = configData.GetAttribute("GridRecvKey"); 85 attri = configData.GetAttribute("GridRecvKey");
86 if (attri == "") 86 if (attri == "")
87 { 87 {
88 this.GridRecvKey = OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Key to expect from grid server", "null"); 88 this.GridRecvKey = OpenSim.Framework.Console.MainLog.Instance.CmdPrompt("Key to expect from grid server", "null");
89 configData.SetAttribute("GridRecvKey", this.GridRecvKey); 89 configData.SetAttribute("GridRecvKey", this.GridRecvKey);
90 } 90 }
91 else 91 else
@@ -97,7 +97,7 @@ namespace OpenSim.Framework.Types
97 attri = configData.GetAttribute("AssetServerURL"); 97 attri = configData.GetAttribute("AssetServerURL");
98 if (attri == "") 98 if (attri == "")
99 { 99 {
100 this.AssetURL = OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Asset server URL", "http://127.0.0.1:8003/"); 100 this.AssetURL = OpenSim.Framework.Console.MainLog.Instance.CmdPrompt("Asset server URL", "http://127.0.0.1:8003/");
101 configData.SetAttribute("AssetServerURL", this.GridURL); 101 configData.SetAttribute("AssetServerURL", this.GridURL);
102 } 102 }
103 else 103 else
@@ -110,8 +110,8 @@ namespace OpenSim.Framework.Types
110 } 110 }
111 catch (Exception e) 111 catch (Exception e)
112 { 112 {
113 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.MEDIUM, "Config.cs:InitConfig() - Exception occured"); 113 OpenSim.Framework.Console.MainLog.Instance.Warn("Config.cs:InitConfig() - Exception occured");
114 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.MEDIUM, e.ToString()); 114 OpenSim.Framework.Console.MainLog.Instance.Warn(e.ToString());
115 } 115 }
116 } 116 }
117 } 117 }
diff --git a/Common/OpenSim.Framework/Types/RegionInfo.cs b/Common/OpenSim.Framework/Types/RegionInfo.cs
index 2c24327..651cd5b 100644
--- a/Common/OpenSim.Framework/Types/RegionInfo.cs
+++ b/Common/OpenSim.Framework/Types/RegionInfo.cs
@@ -87,7 +87,7 @@ namespace OpenSim.Framework.Types
87 attri = configData.GetAttribute("SimName"); 87 attri = configData.GetAttribute("SimName");
88 if (attri == "") 88 if (attri == "")
89 { 89 {
90 this.RegionName = OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Name", "OpenSim test"); 90 this.RegionName = OpenSim.Framework.Console.MainLog.Instance.CmdPrompt("Name", "OpenSim test");
91 configData.SetAttribute("SimName", this.RegionName); 91 configData.SetAttribute("SimName", this.RegionName);
92 } 92 }
93 else 93 else
@@ -99,7 +99,7 @@ namespace OpenSim.Framework.Types
99 attri = configData.GetAttribute("SimLocationX"); 99 attri = configData.GetAttribute("SimLocationX");
100 if (attri == "") 100 if (attri == "")
101 { 101 {
102 string location = OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Grid Location X", "997"); 102 string location = OpenSim.Framework.Console.MainLog.Instance.CmdPrompt("Grid Location X", "997");
103 configData.SetAttribute("SimLocationX", location); 103 configData.SetAttribute("SimLocationX", location);
104 this.RegionLocX = (uint)Convert.ToUInt32(location); 104 this.RegionLocX = (uint)Convert.ToUInt32(location);
105 } 105 }
@@ -112,7 +112,7 @@ namespace OpenSim.Framework.Types
112 attri = configData.GetAttribute("SimLocationY"); 112 attri = configData.GetAttribute("SimLocationY");
113 if (attri == "") 113 if (attri == "")
114 { 114 {
115 string location = OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Grid Location Y", "996"); 115 string location = OpenSim.Framework.Console.MainLog.Instance.CmdPrompt("Grid Location Y", "996");
116 configData.SetAttribute("SimLocationY", location); 116 configData.SetAttribute("SimLocationY", location);
117 this.RegionLocY = (uint)Convert.ToUInt32(location); 117 this.RegionLocY = (uint)Convert.ToUInt32(location);
118 } 118 }
@@ -126,7 +126,7 @@ namespace OpenSim.Framework.Types
126 attri = configData.GetAttribute("Datastore"); 126 attri = configData.GetAttribute("Datastore");
127 if (attri == "") 127 if (attri == "")
128 { 128 {
129 string datastore = OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Filename for local storage", "localworld.yap"); 129 string datastore = OpenSim.Framework.Console.MainLog.Instance.CmdPrompt("Filename for local storage", "localworld.yap");
130 configData.SetAttribute("Datastore", datastore); 130 configData.SetAttribute("Datastore", datastore);
131 this.DataStore = datastore; 131 this.DataStore = datastore;
132 } 132 }
@@ -140,7 +140,7 @@ namespace OpenSim.Framework.Types
140 attri = configData.GetAttribute("SimListenPort"); 140 attri = configData.GetAttribute("SimListenPort");
141 if (attri == "") 141 if (attri == "")
142 { 142 {
143 string port = OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("UDP port for client connections", "9000"); 143 string port = OpenSim.Framework.Console.MainLog.Instance.CmdPrompt("UDP port for client connections", "9000");
144 configData.SetAttribute("SimListenPort", port); 144 configData.SetAttribute("SimListenPort", port);
145 this.IPListenPort = Convert.ToInt32(port); 145 this.IPListenPort = Convert.ToInt32(port);
146 } 146 }
@@ -154,7 +154,7 @@ namespace OpenSim.Framework.Types
154 attri = configData.GetAttribute("SimListenAddress"); 154 attri = configData.GetAttribute("SimListenAddress");
155 if (attri == "") 155 if (attri == "")
156 { 156 {
157 this.IPListenAddr = OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("IP Address to listen on for client connections", "127.0.0.1"); 157 this.IPListenAddr = OpenSim.Framework.Console.MainLog.Instance.CmdPrompt("IP Address to listen on for client connections", "127.0.0.1");
158 configData.SetAttribute("SimListenAddress", this.IPListenAddr); 158 configData.SetAttribute("SimListenAddress", this.IPListenAddr);
159 } 159 }
160 else 160 else
@@ -184,7 +184,7 @@ namespace OpenSim.Framework.Types
184 attri = configData.GetAttribute("TerrainFile"); 184 attri = configData.GetAttribute("TerrainFile");
185 if (attri == "") 185 if (attri == "")
186 { 186 {
187 this.estateSettings.terrainFile = OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("GENERAL SETTING: Default Terrain File", "default.r32"); 187 this.estateSettings.terrainFile = OpenSim.Framework.Console.MainLog.Instance.CmdPrompt("GENERAL SETTING: Default Terrain File", "default.r32");
188 configData.SetAttribute("TerrainFile", this.estateSettings.terrainFile); 188 configData.SetAttribute("TerrainFile", this.estateSettings.terrainFile);
189 } 189 }
190 else 190 else
@@ -196,7 +196,7 @@ namespace OpenSim.Framework.Types
196 attri = configData.GetAttribute("TerrainMultiplier"); 196 attri = configData.GetAttribute("TerrainMultiplier");
197 if (attri == "") 197 if (attri == "")
198 { 198 {
199 string re = OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("GENERAL SETTING: Terrain Height Multiplier", "60.0"); 199 string re = OpenSim.Framework.Console.MainLog.Instance.CmdPrompt("GENERAL SETTING: Terrain Height Multiplier", "60.0");
200 this.estateSettings.terrainMultiplier = Convert.ToDouble(re, CultureInfo.InvariantCulture); 200 this.estateSettings.terrainMultiplier = Convert.ToDouble(re, CultureInfo.InvariantCulture);
201 configData.SetAttribute("TerrainMultiplier", this.estateSettings.terrainMultiplier.ToString()); 201 configData.SetAttribute("TerrainMultiplier", this.estateSettings.terrainMultiplier.ToString());
202 } 202 }
@@ -209,7 +209,7 @@ namespace OpenSim.Framework.Types
209 attri = configData.GetAttribute("MasterAvatarFirstName"); 209 attri = configData.GetAttribute("MasterAvatarFirstName");
210 if (attri == "") 210 if (attri == "")
211 { 211 {
212 this.MasterAvatarFirstName = OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("First name of Master Avatar (Land and Region Owner)", "Test"); 212 this.MasterAvatarFirstName = OpenSim.Framework.Console.MainLog.Instance.CmdPrompt("First name of Master Avatar (Land and Region Owner)", "Test");
213 213
214 configData.SetAttribute("MasterAvatarFirstName", this.MasterAvatarFirstName); 214 configData.SetAttribute("MasterAvatarFirstName", this.MasterAvatarFirstName);
215 } 215 }
@@ -222,7 +222,7 @@ namespace OpenSim.Framework.Types
222 attri = configData.GetAttribute("MasterAvatarLastName"); 222 attri = configData.GetAttribute("MasterAvatarLastName");
223 if (attri == "") 223 if (attri == "")
224 { 224 {
225 this.MasterAvatarLastName = OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Last name of Master Avatar (Land and Region Owner)", "User"); 225 this.MasterAvatarLastName = OpenSim.Framework.Console.MainLog.Instance.CmdPrompt("Last name of Master Avatar (Land and Region Owner)", "User");
226 226
227 configData.SetAttribute("MasterAvatarLastName", this.MasterAvatarLastName); 227 configData.SetAttribute("MasterAvatarLastName", this.MasterAvatarLastName);
228 } 228 }
@@ -237,7 +237,7 @@ namespace OpenSim.Framework.Types
237 attri = configData.GetAttribute("MasterAvatarSandboxPassword"); 237 attri = configData.GetAttribute("MasterAvatarSandboxPassword");
238 if (attri == "") 238 if (attri == "")
239 { 239 {
240 this.MasterAvatarSandboxPassword = OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Password of Master Avatar (Needed for sandbox mode account creation only)", "test"); 240 this.MasterAvatarSandboxPassword = OpenSim.Framework.Console.MainLog.Instance.CmdPrompt("Password of Master Avatar (Needed for sandbox mode account creation only)", "test");
241 241
242 //Should I store this? 242 //Should I store this?
243 configData.SetAttribute("MasterAvatarSandboxPassword", this.MasterAvatarSandboxPassword); 243 configData.SetAttribute("MasterAvatarSandboxPassword", this.MasterAvatarSandboxPassword);
@@ -254,17 +254,17 @@ namespace OpenSim.Framework.Types
254 } 254 }
255 catch (Exception e) 255 catch (Exception e)
256 { 256 {
257 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.MEDIUM,"Config.cs:InitConfig() - Exception occured"); 257 OpenSim.Framework.Console.MainLog.Instance.Warn("Config.cs:InitConfig() - Exception occured");
258 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.MEDIUM,e.ToString()); 258 OpenSim.Framework.Console.MainLog.Instance.Warn(e.ToString());
259 } 259 }
260 260
261 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW,"Sim settings loaded:"); 261 OpenSim.Framework.Console.MainLog.Instance.Verbose("Sim settings loaded:");
262 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "UUID: " + this.SimUUID.ToStringHyphenated()); 262 OpenSim.Framework.Console.MainLog.Instance.Verbose( "UUID: " + this.SimUUID.ToStringHyphenated());
263 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "Name: " + this.RegionName); 263 OpenSim.Framework.Console.MainLog.Instance.Verbose( "Name: " + this.RegionName);
264 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "Region Location: [" + this.RegionLocX.ToString() + "," + this.RegionLocY + "]"); 264 OpenSim.Framework.Console.MainLog.Instance.Verbose( "Region Location: [" + this.RegionLocX.ToString() + "," + this.RegionLocY + "]");
265 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "Region Handle: " + this.RegionHandle.ToString()); 265 OpenSim.Framework.Console.MainLog.Instance.Verbose( "Region Handle: " + this.RegionHandle.ToString());
266 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "Listening on IP: " + this.IPListenAddr + ":" + this.IPListenPort); 266 OpenSim.Framework.Console.MainLog.Instance.Verbose( "Listening on IP: " + this.IPListenAddr + ":" + this.IPListenPort);
267 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "Sandbox Mode? " + isSandbox.ToString()); 267 OpenSim.Framework.Console.MainLog.Instance.Verbose( "Sandbox Mode? " + isSandbox.ToString());
268 268
269 } 269 }
270 } 270 }