diff options
Diffstat (limited to 'OpenSim/Framework/Util.cs')
-rw-r--r-- | OpenSim/Framework/Util.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs index 5c429ee..2d0178e 100644 --- a/OpenSim/Framework/Util.cs +++ b/OpenSim/Framework/Util.cs | |||
@@ -2000,7 +2000,7 @@ namespace OpenSim.Framework | |||
2000 | { | 2000 | { |
2001 | ThreadFuncNum = threadFuncNum; | 2001 | ThreadFuncNum = threadFuncNum; |
2002 | this.context = context; | 2002 | this.context = context; |
2003 | LogThread = true; | 2003 | LogThread = false; |
2004 | Thread = null; | 2004 | Thread = null; |
2005 | Running = false; | 2005 | Running = false; |
2006 | Aborted = false; | 2006 | Aborted = false; |
@@ -2181,6 +2181,12 @@ namespace OpenSim.Framework | |||
2181 | (LogThreadPool >= 2) ? full : partial); | 2181 | (LogThreadPool >= 2) ? full : partial); |
2182 | } | 2182 | } |
2183 | } | 2183 | } |
2184 | else | ||
2185 | { | ||
2186 | // Since we didn't log "Queue threadfunc", don't log "Run threadfunc" or "End threadfunc" either. | ||
2187 | // Those log lines aren't useful when we don't know which function is running in the thread. | ||
2188 | threadInfo.LogThread = false; | ||
2189 | } | ||
2184 | 2190 | ||
2185 | switch (FireAndForgetMethod) | 2191 | switch (FireAndForgetMethod) |
2186 | { | 2192 | { |