aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorRobert Adams2013-03-19 11:40:10 -0700
committerRobert Adams2013-03-19 11:40:10 -0700
commit1dd2d432f1b0221c6180f1367badbcc3d29c478d (patch)
tree304993286773e2fe6c3f258e1106133b260d5fde
parentBulletSim: code to generate a higher resolution terrain mesh. Parameter (diff)
downloadopensim-SC_OLD-1dd2d432f1b0221c6180f1367badbcc3d29c478d.zip
opensim-SC_OLD-1dd2d432f1b0221c6180f1367badbcc3d29c478d.tar.gz
opensim-SC_OLD-1dd2d432f1b0221c6180f1367badbcc3d29c478d.tar.bz2
opensim-SC_OLD-1dd2d432f1b0221c6180f1367badbcc3d29c478d.tar.xz
For those people collecting and comparing logfiles from servers scattered
around the world, change LogWriter to use DateTime.UtcNow rather than DateTime.Now.
-rwxr-xr-xOpenSim/Region/CoreModules/Framework/Statistics/Logging/LogWriter.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/Statistics/Logging/LogWriter.cs b/OpenSim/Region/CoreModules/Framework/Statistics/Logging/LogWriter.cs
index 3c8e0ef..2fe9026 100755
--- a/OpenSim/Region/CoreModules/Framework/Statistics/Logging/LogWriter.cs
+++ b/OpenSim/Region/CoreModules/Framework/Statistics/Logging/LogWriter.cs
@@ -136,7 +136,7 @@ namespace OpenSim.Region.CoreModules.Framework.Statistics.Logging
136 { 136 {
137 lock (m_logFileWriteLock) 137 lock (m_logFileWriteLock)
138 { 138 {
139 DateTime now = DateTime.Now; 139 DateTime now = DateTime.UtcNow;
140 if (m_logFile == null || now > m_logFileEndTime) 140 if (m_logFile == null || now > m_logFileEndTime)
141 { 141 {
142 if (m_logFile != null) 142 if (m_logFile != null)