For those people collecting and comparing logfiles from servers scattered

around the world, change LogWriter to use DateTime.UtcNow rather than
DateTime.Now.
user_profiles
Robert Adams 2013-03-19 11:40:10 -07:00
parent 8360223fed
commit 1dd2d432f1
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ namespace OpenSim.Region.CoreModules.Framework.Statistics.Logging
{ {
lock (m_logFileWriteLock) lock (m_logFileWriteLock)
{ {
DateTime now = DateTime.Now; DateTime now = DateTime.UtcNow;
if (m_logFile == null || now > m_logFileEndTime) if (m_logFile == null || now > m_logFileEndTime)
{ {
if (m_logFile != null) if (m_logFile != null)