diff options
author | Justin Clark-Casey (justincc) | 2014-12-03 21:08:43 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-12-03 21:08:43 +0000 |
commit | d34ad345d5f6a8e57b4262e72b38e60e8623de30 (patch) | |
tree | 70d0f08fca26349bac6ac808a0d210360ad92d03 /OpenSim/Region/ScriptEngine/XEngine | |
parent | Reintroduce general xengine extra debugging log level. This can be controlle... (diff) | |
download | opensim-SC_OLD-d34ad345d5f6a8e57b4262e72b38e60e8623de30.zip opensim-SC_OLD-d34ad345d5f6a8e57b4262e72b38e60e8623de30.tar.gz opensim-SC_OLD-d34ad345d5f6a8e57b4262e72b38e60e8623de30.tar.bz2 opensim-SC_OLD-d34ad345d5f6a8e57b4262e72b38e60e8623de30.tar.xz |
minor: If we are recompiling scripts in response to a ScriptStopStrategy config change (a rare situation), then explicitly log this for debug purposes.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/XEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 8 |
1 files changed, 8 insertions, 0 deletions
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 | |||
1349 | // simulator session if the script halt strategy has been changed. Instead, we'll continue with | 1349 | // simulator session if the script halt strategy has been changed. Instead, we'll continue with |
1350 | // the existing DLL and the new one will be used in the next simulator session. | 1350 | // the existing DLL and the new one will be used in the next simulator session. |
1351 | if (recompile) | 1351 | if (recompile) |
1352 | { | ||
1353 | m_log.DebugFormat( | ||
1354 | "[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.", | ||
1355 | part.ParentGroup.RootPart.Name, item.Name, itemID, part.UUID, | ||
1356 | part.ParentGroup.RootPart.AbsolutePosition, part.ParentGroup.Scene.Name, | ||
1357 | m_coopTermination ? "co-op" : "abort"); | ||
1358 | |||
1352 | m_Compiler.PerformScriptCompile(script, assetID.ToString(), item.OwnerID, true, out assemblyPath, out linemap); | 1359 | m_Compiler.PerformScriptCompile(script, assetID.ToString(), item.OwnerID, true, out assemblyPath, out linemap); |
1360 | } | ||
1353 | 1361 | ||
1354 | instance = new ScriptInstance(this, part, | 1362 | instance = new ScriptInstance(this, part, |
1355 | item, | 1363 | item, |