diff options
author | Adam Frisby | 2007-06-20 15:50:06 +0000 |
---|---|---|
committer | Adam Frisby | 2007-06-20 15:50:06 +0000 |
commit | 29053589bff370916f4067dade70969499f77ce3 (patch) | |
tree | 582e2c839ce2e681dc98087bb12c71241641ffc6 /OpenSim/OpenSim.RegionServer/NetworkServersInfo.cs | |
parent | * Removed ClientThreads from avatar (diff) | |
download | opensim-SC_OLD-29053589bff370916f4067dade70969499f77ce3.zip opensim-SC_OLD-29053589bff370916f4067dade70969499f77ce3.tar.gz opensim-SC_OLD-29053589bff370916f4067dade70969499f77ce3.tar.bz2 opensim-SC_OLD-29053589bff370916f4067dade70969499f77ce3.tar.xz |
* Replaced old logging mechanism with new shiny logging mechanism
* Console, I bid thee farewall. Use "Log" now where console used to exist.
Diffstat (limited to 'OpenSim/OpenSim.RegionServer/NetworkServersInfo.cs')
-rw-r--r-- | OpenSim/OpenSim.RegionServer/NetworkServersInfo.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/OpenSim.RegionServer/NetworkServersInfo.cs b/OpenSim/OpenSim.RegionServer/NetworkServersInfo.cs index 635bbdf..407ebe0 100644 --- a/OpenSim/OpenSim.RegionServer/NetworkServersInfo.cs +++ b/OpenSim/OpenSim.RegionServer/NetworkServersInfo.cs | |||
@@ -60,7 +60,7 @@ namespace OpenSim | |||
60 | attri = configData.GetAttribute("GridServerURL"); | 60 | attri = configData.GetAttribute("GridServerURL"); |
61 | if (attri == "") | 61 | if (attri == "") |
62 | { | 62 | { |
63 | this.GridURL = OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Grid server URL", "http://127.0.0.1:8001/"); | 63 | this.GridURL = OpenSim.Framework.Console.MainLog.Instance.CmdPrompt("Grid server URL", "http://127.0.0.1:8001/"); |
64 | configData.SetAttribute("GridServerURL", this.GridURL); | 64 | configData.SetAttribute("GridServerURL", this.GridURL); |
65 | } | 65 | } |
66 | else | 66 | else |
@@ -73,7 +73,7 @@ namespace OpenSim | |||
73 | attri = configData.GetAttribute("GridSendKey"); | 73 | attri = configData.GetAttribute("GridSendKey"); |
74 | if (attri == "") | 74 | if (attri == "") |
75 | { | 75 | { |
76 | this.GridSendKey = OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Key to send to grid server", "null"); | 76 | this.GridSendKey = OpenSim.Framework.Console.MainLog.Instance.CmdPrompt("Key to send to grid server", "null"); |
77 | configData.SetAttribute("GridSendKey", this.GridSendKey); | 77 | configData.SetAttribute("GridSendKey", this.GridSendKey); |
78 | } | 78 | } |
79 | else | 79 | else |
@@ -86,7 +86,7 @@ namespace OpenSim | |||
86 | attri = configData.GetAttribute("GridRecvKey"); | 86 | attri = configData.GetAttribute("GridRecvKey"); |
87 | if (attri == "") | 87 | if (attri == "") |
88 | { | 88 | { |
89 | this.GridRecvKey = OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Key to expect from grid server", "null"); | 89 | this.GridRecvKey = OpenSim.Framework.Console.MainLog.Instance.CmdPrompt("Key to expect from grid server", "null"); |
90 | configData.SetAttribute("GridRecvKey", this.GridRecvKey); | 90 | configData.SetAttribute("GridRecvKey", this.GridRecvKey); |
91 | } | 91 | } |
92 | else | 92 | else |
@@ -98,7 +98,7 @@ namespace OpenSim | |||
98 | attri = configData.GetAttribute("AssetServerURL"); | 98 | attri = configData.GetAttribute("AssetServerURL"); |
99 | if (attri == "") | 99 | if (attri == "") |
100 | { | 100 | { |
101 | this.AssetURL = OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Asset server URL", "http://127.0.0.1:8003/"); | 101 | this.AssetURL = OpenSim.Framework.Console.MainLog.Instance.CmdPrompt("Asset server URL", "http://127.0.0.1:8003/"); |
102 | configData.SetAttribute("AssetServerURL", this.GridURL); | 102 | configData.SetAttribute("AssetServerURL", this.GridURL); |
103 | } | 103 | } |
104 | else | 104 | else |
@@ -111,8 +111,8 @@ namespace OpenSim | |||
111 | } | 111 | } |
112 | catch (Exception e) | 112 | catch (Exception e) |
113 | { | 113 | { |
114 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.MEDIUM, "Config.cs:InitConfig() - Exception occured"); | 114 | OpenSim.Framework.Console.MainLog.Instance.Warn("Config.cs:InitConfig() - Exception occured"); |
115 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.MEDIUM, e.ToString()); | 115 | OpenSim.Framework.Console.MainLog.Instance.Warn(e.ToString()); |
116 | } | 116 | } |
117 | } | 117 | } |
118 | } | 118 | } |