aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-06-15 01:24:36 +0100
committerJustin Clark-Casey (justincc)2012-06-15 01:24:36 +0100
commit478acfff34b94c7c42bdb927be531b669c43af72 (patch)
tree7ae0a11b9ebc3ff37b9add3e8800cf3fd2963716 /OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
parentMake XMLRPCModule use an existing HTTP server if one already exists on the de... (diff)
downloadopensim-SC-478acfff34b94c7c42bdb927be531b669c43af72.zip
opensim-SC-478acfff34b94c7c42bdb927be531b669c43af72.tar.gz
opensim-SC-478acfff34b94c7c42bdb927be531b669c43af72.tar.bz2
opensim-SC-478acfff34b94c7c42bdb927be531b669c43af72.tar.xz
When setting debug http level, do this for all known http servers, not just the main instance.
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs20
1 files changed, 10 insertions, 10 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
index 35a0be4..6b52485 100644
--- a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
+++ b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
@@ -53,6 +53,16 @@ namespace OpenSim.Framework.Servers.HttpServer
53 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 53 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
54 private HttpServerLogWriter httpserverlog = new HttpServerLogWriter(); 54 private HttpServerLogWriter httpserverlog = new HttpServerLogWriter();
55 55
56 /// <summary>
57 /// Control the printing of certain debug messages.
58 /// </summary>
59 /// <remarks>
60 /// If DebugLevel >= 1, then short warnings are logged when receiving bad input data.
61 /// If DebugLevel >= 2, then long warnings are logged when receiving bad input data.
62 /// If DebugLevel >= 3, then short notices about all incoming non-poll HTTP requests are logged.
63 /// </remarks>
64 public int DebugLevel { get; set; }
65
56 private volatile int NotSocketErrors = 0; 66 private volatile int NotSocketErrors = 0;
57 public volatile bool HTTPDRunning = false; 67 public volatile bool HTTPDRunning = false;
58 68
@@ -79,16 +89,6 @@ namespace OpenSim.Framework.Servers.HttpServer
79 89
80 private PollServiceRequestManager m_PollServiceManager; 90 private PollServiceRequestManager m_PollServiceManager;
81 91
82 /// <summary>
83 /// Control the printing of certain debug messages.
84 /// </summary>
85 /// <remarks>
86 /// If DebugLevel >= 1, then short warnings are logged when receiving bad input data.
87 /// If DebugLevel >= 2, then long warnings are logged when receiving bad input data.
88 /// If DebugLevel >= 3, then short notices about all incoming non-poll HTTP requests are logged.
89 /// </remarks>
90 public int DebugLevel { get; set; }
91
92 public uint SSLPort 92 public uint SSLPort
93 { 93 {
94 get { return m_sslport; } 94 get { return m_sslport; }