diff options
author | Adam Frisby | 2007-11-04 20:37:55 +0000 |
---|---|---|
committer | Adam Frisby | 2007-11-04 20:37:55 +0000 |
commit | 9f4ae7230f586400b7bfb7eb956bdcc3ff5f2ece (patch) | |
tree | ef4981a4a11bc4cb35d9896bb60672b6cba142c4 /OpenSim/Framework/RegionLoader | |
parent | forgot change in prebuild.xml (diff) | |
download | opensim-SC_OLD-9f4ae7230f586400b7bfb7eb956bdcc3ff5f2ece.zip opensim-SC_OLD-9f4ae7230f586400b7bfb7eb956bdcc3ff5f2ece.tar.gz opensim-SC_OLD-9f4ae7230f586400b7bfb7eb956bdcc3ff5f2ece.tar.bz2 opensim-SC_OLD-9f4ae7230f586400b7bfb7eb956bdcc3ff5f2ece.tar.xz |
* Small touchup of console messages
Diffstat (limited to 'OpenSim/Framework/RegionLoader')
-rw-r--r-- | OpenSim/Framework/RegionLoader/Web/RegionLoaderWebServer.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Framework/RegionLoader/Web/RegionLoaderWebServer.cs b/OpenSim/Framework/RegionLoader/Web/RegionLoaderWebServer.cs index f7835e3..c26241e 100644 --- a/OpenSim/Framework/RegionLoader/Web/RegionLoaderWebServer.cs +++ b/OpenSim/Framework/RegionLoader/Web/RegionLoaderWebServer.cs | |||
@@ -47,7 +47,7 @@ namespace OpenSim.Framework.RegionLoader.Web | |||
47 | { | 47 | { |
48 | if (m_configSouce == null) | 48 | if (m_configSouce == null) |
49 | { | 49 | { |
50 | Console.MainLog.Instance.Error("Unable to load configuration source! (WebServer Region Loader)"); | 50 | Console.MainLog.Instance.Error("WEBLOADER", "Unable to load configuration source!"); |
51 | return null; | 51 | return null; |
52 | } | 52 | } |
53 | else | 53 | else |
@@ -56,7 +56,7 @@ namespace OpenSim.Framework.RegionLoader.Web | |||
56 | string url = startupConfig.GetString("regionload_webserver_url","").Trim(); | 56 | string url = startupConfig.GetString("regionload_webserver_url","").Trim(); |
57 | if (url == "") | 57 | if (url == "") |
58 | { | 58 | { |
59 | Console.MainLog.Instance.Error("Unable to load webserver URL - URL was empty (WebServer Region Loader"); | 59 | Console.MainLog.Instance.Error("WEBLOADER", "Unable to load webserver URL - URL was empty."); |
60 | return null; | 60 | return null; |
61 | } | 61 | } |
62 | else | 62 | else |
@@ -64,9 +64,9 @@ namespace OpenSim.Framework.RegionLoader.Web | |||
64 | 64 | ||
65 | HttpWebRequest webRequest = (HttpWebRequest)WebRequest.Create(url); | 65 | HttpWebRequest webRequest = (HttpWebRequest)WebRequest.Create(url); |
66 | webRequest.Timeout = 30000; //30 Second Timeout | 66 | webRequest.Timeout = 30000; //30 Second Timeout |
67 | Console.MainLog.Instance.Debug("Sending Download Request..."); | 67 | Console.MainLog.Instance.Debug("WEBLOADER", "Sending Download Request..."); |
68 | HttpWebResponse webResponse = (HttpWebResponse)webRequest.GetResponse(); | 68 | HttpWebResponse webResponse = (HttpWebResponse)webRequest.GetResponse(); |
69 | Console.MainLog.Instance.Debug("Downloading Region Information From Remote Server..."); | 69 | Console.MainLog.Instance.Debug("WEBLOADER", "Downloading Region Information From Remote Server..."); |
70 | StreamReader reader = new StreamReader(webResponse.GetResponseStream()); | 70 | StreamReader reader = new StreamReader(webResponse.GetResponseStream()); |
71 | string xmlSource = ""; | 71 | string xmlSource = ""; |
72 | string tempStr = reader.ReadLine(); | 72 | string tempStr = reader.ReadLine(); |
@@ -75,7 +75,7 @@ namespace OpenSim.Framework.RegionLoader.Web | |||
75 | xmlSource = xmlSource + tempStr; | 75 | xmlSource = xmlSource + tempStr; |
76 | tempStr = reader.ReadLine(); | 76 | tempStr = reader.ReadLine(); |
77 | } | 77 | } |
78 | Console.MainLog.Instance.Debug("Done downloading region information from server. Total Bytes: " + xmlSource.Length); | 78 | Console.MainLog.Instance.Debug("WEBLOADER", "Done downloading region information from server. Total Bytes: " + xmlSource.Length); |
79 | XmlDocument xmlDoc = new XmlDocument(); | 79 | XmlDocument xmlDoc = new XmlDocument(); |
80 | xmlDoc.LoadXml(xmlSource); | 80 | xmlDoc.LoadXml(xmlSource); |
81 | if (xmlDoc.FirstChild.Name == "Regions") | 81 | if (xmlDoc.FirstChild.Name == "Regions") |