diff options
author | Justin Clark-Casey (justincc) | 2012-08-25 00:42:32 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-08-31 16:27:54 +0100 |
commit | 87850bd6dced081dddd4b5267de2db463e28f14d (patch) | |
tree | 02655a64637663839d85f583b6284ec6dfc02ced /OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | |
parent | Extend "Restarting scripts in attachments" debug log message to show actual n... (diff) | |
download | opensim-SC_OLD-87850bd6dced081dddd4b5267de2db463e28f14d.zip opensim-SC_OLD-87850bd6dced081dddd4b5267de2db463e28f14d.tar.gz opensim-SC_OLD-87850bd6dced081dddd4b5267de2db463e28f14d.tar.bz2 opensim-SC_OLD-87850bd6dced081dddd4b5267de2db463e28f14d.tar.xz |
Log initial script startup info notice when xengine actually starts to do this for debugging purposes, rather than before it actually starts to do this.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 5311313..78096f8 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | |||
@@ -923,6 +923,8 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
923 | // This delay exists to stop mono problems where script compilation and startup would stop the sim | 923 | // This delay exists to stop mono problems where script compilation and startup would stop the sim |
924 | // working properly for the session. | 924 | // working properly for the session. |
925 | System.Threading.Thread.Sleep(m_StartDelay); | 925 | System.Threading.Thread.Sleep(m_StartDelay); |
926 | |||
927 | m_log.InfoFormat("[XEngine]: Performing initial script startup on {0}", m_Scene.Name); | ||
926 | } | 928 | } |
927 | 929 | ||
928 | object[] o; | 930 | object[] o; |
@@ -938,13 +940,13 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
938 | if (m_InitialStartup) | 940 | if (m_InitialStartup) |
939 | if (scriptsStarted % 50 == 0) | 941 | if (scriptsStarted % 50 == 0) |
940 | m_log.InfoFormat( | 942 | m_log.InfoFormat( |
941 | "[XEngine]: Started {0} scripts in {1}", scriptsStarted, m_Scene.RegionInfo.RegionName); | 943 | "[XEngine]: Started {0} scripts in {1}", scriptsStarted, m_Scene.Name); |
942 | } | 944 | } |
943 | } | 945 | } |
944 | 946 | ||
945 | if (m_InitialStartup) | 947 | if (m_InitialStartup) |
946 | m_log.InfoFormat( | 948 | m_log.InfoFormat( |
947 | "[XEngine]: Completed starting {0} scripts on {1}", scriptsStarted, m_Scene.RegionInfo.RegionName); | 949 | "[XEngine]: Completed starting {0} scripts on {1}", scriptsStarted, m_Scene.Name); |
948 | 950 | ||
949 | // NOTE: Despite having a lockless queue, this lock is required | 951 | // NOTE: Despite having a lockless queue, this lock is required |
950 | // to make sure there is never no compile thread while there | 952 | // to make sure there is never no compile thread while there |