From d34ad345d5f6a8e57b4262e72b38e60e8623de30 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Wed, 3 Dec 2014 21:08:43 +0000 Subject: minor: If we are recompiling scripts in response to a ScriptStopStrategy config change (a rare situation), then explicitly log this for debug purposes. --- OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'OpenSim/Region/ScriptEngine/XEngine/XEngine.cs') diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index bd11451..752b397 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs @@ -1349,7 +1349,15 @@ namespace OpenSim.Region.ScriptEngine.XEngine // simulator session if the script halt strategy has been changed. Instead, we'll continue with // the existing DLL and the new one will be used in the next simulator session. if (recompile) + { + m_log.DebugFormat( + "[XEngine]: Recompiling script {0}.{1}, item UUID {2}, prim UUID {3} @ {4}.{5} to switch it to {6} termination. Will be active on next restart.", + part.ParentGroup.RootPart.Name, item.Name, itemID, part.UUID, + part.ParentGroup.RootPart.AbsolutePosition, part.ParentGroup.Scene.Name, + m_coopTermination ? "co-op" : "abort"); + m_Compiler.PerformScriptCompile(script, assetID.ToString(), item.OwnerID, true, out assemblyPath, out linemap); + } instance = new ScriptInstance(this, part, item, -- cgit v1.1