diff options
author | Justin Clark-Casey (justincc) | 2012-08-25 00:42:32 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-08-25 00:42:32 +0100 |
commit | f3a5e3a02b5422fad607695aac0bffd17152434b (patch) | |
tree | a4372e48fff596cc9626418d1531a199d9f196cd /OpenSim/Region/ScriptEngine/XEngine | |
parent | Extend "Restarting scripts in attachments" debug log message to show actual n... (diff) | |
download | opensim-SC_OLD-f3a5e3a02b5422fad607695aac0bffd17152434b.zip opensim-SC_OLD-f3a5e3a02b5422fad607695aac0bffd17152434b.tar.gz opensim-SC_OLD-f3a5e3a02b5422fad607695aac0bffd17152434b.tar.bz2 opensim-SC_OLD-f3a5e3a02b5422fad607695aac0bffd17152434b.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 'OpenSim/Region/ScriptEngine/XEngine')
-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 5a3f002..0460f22 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 |