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 /Common/OpenSim.Framework/Types/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 'Common/OpenSim.Framework/Types/NetworkServersInfo.cs')
-rw-r--r-- | Common/OpenSim.Framework/Types/NetworkServersInfo.cs | 12 |
1 files changed, 6 insertions, 6 deletions
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 | } |