aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorMelanie2012-09-29 19:21:07 +0100
committerMelanie2012-09-29 19:21:07 +0100
commit71dd55a1ce8560dba3fbab76e25bbeaf974f422a (patch)
treeb1c3759d25e29b8ab9b2c61da3f408c6aa7803f4 /OpenSim/Framework
parentMerge branch 'avination' into careminster (diff)
parentGet rid of some unnecessary casts in RemoteAdminPlugin. (diff)
downloadopensim-SC-71dd55a1ce8560dba3fbab76e25bbeaf974f422a.zip
opensim-SC-71dd55a1ce8560dba3fbab76e25bbeaf974f422a.tar.gz
opensim-SC-71dd55a1ce8560dba3fbab76e25bbeaf974f422a.tar.bz2
opensim-SC-71dd55a1ce8560dba3fbab76e25bbeaf974f422a.tar.xz
Merge branch 'master' into careminster
Conflicts: CONTRIBUTORS.txt OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs OpenSim/Region/CoreModules/Avatar/Attachments/Tests/AttachmentsModuleTests.cs
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs6
-rw-r--r--OpenSim/Framework/Servers/MainServer.cs4
2 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
index 1d35b1a..b3e31a6 100644
--- a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
+++ b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
@@ -728,14 +728,14 @@ namespace OpenSim.Framework.Servers.HttpServer
728 const int sampleLength = 80; 728 const int sampleLength = 80;
729 char[] sampleChars = new char[sampleLength]; 729 char[] sampleChars = new char[sampleLength];
730 reader.Read(sampleChars, 0, sampleLength); 730 reader.Read(sampleChars, 0, sampleLength);
731 output = string.Format("[BASE HTTP SERVER]: {0}...", new string(sampleChars).Replace("\n", @"\n")); 731 output = new string(sampleChars);
732 } 732 }
733 else 733 else
734 { 734 {
735 output = string.Format("[BASE HTTP SERVER]: {0}", reader.ReadToEnd()); 735 output = reader.ReadToEnd();
736 } 736 }
737 737
738 m_log.Debug(output); 738 m_log.DebugFormat("[BASE HTTP SERVER]: {0}...", output.Replace("\n", @"\n"));
739 } 739 }
740 } 740 }
741 741
diff --git a/OpenSim/Framework/Servers/MainServer.cs b/OpenSim/Framework/Servers/MainServer.cs
index 4b61b18..ae7d515 100644
--- a/OpenSim/Framework/Servers/MainServer.cs
+++ b/OpenSim/Framework/Servers/MainServer.cs
@@ -177,9 +177,9 @@ namespace OpenSim.Framework.Servers
177 return; 177 return;
178 } 178 }
179 179
180 if (newDebug < 0 || newDebug > 5) 180 if (newDebug < 0 || newDebug > 6)
181 { 181 {
182 MainConsole.Instance.OutputFormat("{0} is outside the valid debug level range of 0..5", newDebug); 182 MainConsole.Instance.OutputFormat("{0} is outside the valid debug level range of 0..6", newDebug);
183 return; 183 return;
184 } 184 }
185 185