From 3cbc1e011d8abcfefacc0c72429dd01656f49ef2 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Tue, 24 Jul 2007 03:59:32 +0000 Subject: * Reduced a significant number of compiler warnings (back down to 9 for all projects combined, all 'never used' things) --- OpenSim/Framework/Servers/BaseHttpServer.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'OpenSim/Framework/Servers') diff --git a/OpenSim/Framework/Servers/BaseHttpServer.cs b/OpenSim/Framework/Servers/BaseHttpServer.cs index 4b3b3de..d0784f3 100644 --- a/OpenSim/Framework/Servers/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/BaseHttpServer.cs @@ -185,7 +185,7 @@ namespace OpenSim.Framework.Servers public void Start() { - MainLog.Instance.WriteLine(LogPriority.LOW, "BaseHttpServer.cs: Starting up HTTP Server"); + MainLog.Instance.Verbose("HTTPD", "BaseHttpServer.cs: Starting up HTTP Server"); m_workerThread = new Thread(new ThreadStart(StartHTTP)); m_workerThread.IsBackground = true; @@ -196,7 +196,7 @@ namespace OpenSim.Framework.Servers { try { - MainLog.Instance.WriteLine(LogPriority.LOW, "BaseHttpServer.cs: StartHTTP() - Spawned main thread OK"); + MainLog.Instance.Status("HTTPD", "BaseHttpServer.cs: StartHTTP() - Spawned main thread OK"); m_httpListener = new HttpListener(); m_httpListener.Prefixes.Add("http://+:" + m_port + "/"); @@ -211,7 +211,7 @@ namespace OpenSim.Framework.Servers } catch (Exception e) { - MainLog.Instance.WriteLine(LogPriority.MEDIUM, e.Message); + MainLog.Instance.Warn("HTTPD", "Error - " + e.Message); } } -- cgit v1.1