Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

minor: Make xengine debug message on script load a scripting loading …

…message instead.

This is more useful if compilation fails due to an uncatchable exception since we know what was being compiled.
  • Loading branch information...
commit 0860a0d856ee667bf20db074b778f2518c4d061c 1 parent 99e339d
Justin Clark-Casey authored August 17, 2012
16  OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
@@ -982,10 +982,12 @@ private bool DoOnRezScript(object[] parms)
982 982
                 return false;
983 983
             }
984 984
 
985  
-            UUID assetID = item.AssetID;
  985
+            m_log.DebugFormat(
  986
+                "[XEngine] Loading script {0}.{1}, item UUID {2}, prim UUID {3} @ {4}.{5}",
  987
+                part.ParentGroup.RootPart.Name, item.Name, itemID, part.UUID,
  988
+                part.ParentGroup.RootPart.AbsolutePosition, part.ParentGroup.Scene.RegionInfo.RegionName);
986 989
 
987  
-            //m_log.DebugFormat("[XEngine] Compiling script {0} ({1} on object {2})",
988  
-            //        item.Name, itemID.ToString(), part.ParentGroup.RootPart.Name);
  990
+            UUID assetID = item.AssetID;
989 991
 
990 992
             ScenePresence presence = m_Scene.GetScenePresence(item.OwnerID);
991 993
 
@@ -1164,10 +1166,10 @@ private bool DoOnRezScript(object[] parms)
1164 1166
                                                   stateSource, m_MaxScriptQueue);
1165 1167
 
1166 1168
 //                    if (DebugLevel >= 1)
1167  
-                    m_log.DebugFormat(
1168  
-                        "[XEngine] Loaded script {0}.{1}, item UUID {2}, prim UUID {3} @ {4}.{5}",
1169  
-                        part.ParentGroup.RootPart.Name, item.Name, itemID, part.UUID,
1170  
-                        part.ParentGroup.RootPart.AbsolutePosition, part.ParentGroup.Scene.RegionInfo.RegionName);
  1169
+//                    m_log.DebugFormat(
  1170
+//                        "[XEngine] Loaded script {0}.{1}, item UUID {2}, prim UUID {3} @ {4}.{5}",
  1171
+//                        part.ParentGroup.RootPart.Name, item.Name, itemID, part.UUID,
  1172
+//                        part.ParentGroup.RootPart.AbsolutePosition, part.ParentGroup.Scene.RegionInfo.RegionName);
1171 1173
 
1172 1174
                     if (presence != null)
1173 1175
                     {

0 notes on commit 0860a0d

Please sign in to comment.
Something went wrong with that request. Please try again.