From ec1901e4b8bcd1dd8487cd4b5ee48a7c58748f3d Mon Sep 17 00:00:00 2001
From: Adam Frisby
Date: Sat, 12 May 2007 15:44:10 +0000
Subject: EXTERM-INATED. (Add warnings produced by WriteLine change have been
 updated to include Log Priority)

---
 OpenSim.GridInterfaces/Local/LocalAssetServer.cs   | 2 +-
 OpenSim.GridInterfaces/Remote/RemoteAssetServer.cs | 4 ++--
 OpenSim.GridInterfaces/Remote/RemoteGridServer.cs  | 6 +++---
 3 files changed, 6 insertions(+), 6 deletions(-)

(limited to 'OpenSim.GridInterfaces')

diff --git a/OpenSim.GridInterfaces/Local/LocalAssetServer.cs b/OpenSim.GridInterfaces/Local/LocalAssetServer.cs
index 962cd40..5c98377 100644
--- a/OpenSim.GridInterfaces/Local/LocalAssetServer.cs
+++ b/OpenSim.GridInterfaces/Local/LocalAssetServer.cs
@@ -49,7 +49,7 @@ namespace OpenSim.GridInterfaces.Local
             {
                 db.Close();
                 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(LogPriority.MEDIUM,"Db4 Asset server :Constructor - Exception occured");
-                OpenSim.Framework.Console.MainConsole.Instance.WriteLine(e.ToString());
+                OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.MEDIUM, e.ToString());
             }
             if (!yapfile)
             {
diff --git a/OpenSim.GridInterfaces/Remote/RemoteAssetServer.cs b/OpenSim.GridInterfaces/Remote/RemoteAssetServer.cs
index 2c94ac1..d79073a 100644
--- a/OpenSim.GridInterfaces/Remote/RemoteAssetServer.cs
+++ b/OpenSim.GridInterfaces/Remote/RemoteAssetServer.cs
@@ -26,7 +26,7 @@ namespace OpenSim.GridInterfaces.Remote
             this._remoteAssetServerThread = new Thread(new ThreadStart(RunRequests));
             this._remoteAssetServerThread.IsBackground = true;
             this._remoteAssetServerThread.Start();
-            OpenSim.Framework.Console.MainConsole.Instance.WriteLine("Remote Asset Server class created");
+            OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW,"Remote Asset Server class created");
         }
 
         public void SetReceiver(IAssetReceiver receiver)
@@ -66,7 +66,7 @@ namespace OpenSim.GridInterfaces.Remote
 		// 404... THE MAGIC FILE NOT FOUND ERROR, very useful for telling you things such as a file (or asset ;) ) not being found!!!!!!!!!!! it's 2:22AM
                 ARequest req = this._assetRequests.Dequeue();
                 LLUUID assetID = req.AssetID;
-                OpenSim.Framework.Console.MainConsole.Instance.WriteLine(" RemoteAssetServer- Got a AssetServer request, processing it - " + this.AssetServerUrl + "assets/" + assetID);
+                OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW," RemoteAssetServer- Got a AssetServer request, processing it - " + this.AssetServerUrl + "assets/" + assetID);
                 WebRequest AssetLoad = WebRequest.Create(this.AssetServerUrl + "assets/" + assetID);
                 WebResponse AssetResponse = AssetLoad.GetResponse();
                 byte[] idata = new byte[(int)AssetResponse.ContentLength];
diff --git a/OpenSim.GridInterfaces/Remote/RemoteGridServer.cs b/OpenSim.GridInterfaces/Remote/RemoteGridServer.cs
index a475471..56aa002 100644
--- a/OpenSim.GridInterfaces/Remote/RemoteGridServer.cs
+++ b/OpenSim.GridInterfaces/Remote/RemoteGridServer.cs
@@ -68,7 +68,7 @@ namespace OpenSim.GridInterfaces.Remote
 
         public RemoteGridServer()
         {
-            OpenSim.Framework.Console.MainConsole.Instance.WriteLine("Remote Grid Server class created");
+            OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW,"Remote Grid Server class created");
         }
 
         public override bool RequestConnection(LLUUID SimUUID, string sim_ip, uint sim_port)
@@ -88,8 +88,8 @@ namespace OpenSim.GridInterfaces.Remote
 
 	    if(GridRespData.ContainsKey("error")) {
 	    	string errorstring = (string)GridRespData["error"];
-		OpenSim.Framework.Console.MainConsole.Instance.WriteLine("Error connecting to grid:");
-		OpenSim.Framework.Console.MainConsole.Instance.WriteLine(errorstring);
+		OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.MEDIUM,"Error connecting to grid:");
+        OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.MEDIUM,errorstring);
 	    	return false;
 	    }
 	    this.neighbours = (ArrayList)GridRespData["neighbours"];
-- 
cgit v1.1