aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorOren Hurvitz2014-07-14 12:39:20 +0300
committerJustin Clark-Casey2014-08-02 00:57:17 +0100
commitf1536de438bc264c1d12aa9509bc96ef7e8c20cd (patch)
tree05729bb7708c1a469e7805f4453e1e5fd101e44c
parentChanged the default XBakes directory to a local path: "./bakes". (diff)
downloadopensim-SC-f1536de438bc264c1d12aa9509bc96ef7e8c20cd.zip
opensim-SC-f1536de438bc264c1d12aa9509bc96ef7e8c20cd.tar.gz
opensim-SC-f1536de438bc264c1d12aa9509bc96ef7e8c20cd.tar.bz2
opensim-SC-f1536de438bc264c1d12aa9509bc96ef7e8c20cd.tar.xz
Allow reading the BulletSim detail log while the sim is running
-rwxr-xr-xOpenSim/Region/CoreModules/Framework/Statistics/Logging/LogWriter.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/Statistics/Logging/LogWriter.cs b/OpenSim/Region/CoreModules/Framework/Statistics/Logging/LogWriter.cs
index 2fe9026..a176958 100755
--- a/OpenSim/Region/CoreModules/Framework/Statistics/Logging/LogWriter.cs
+++ b/OpenSim/Region/CoreModules/Framework/Statistics/Logging/LogWriter.cs
@@ -1,4 +1,4 @@
1/* 1/*
2 * Copyright (c) Contributors, http://opensimulator.org/ 2 * Copyright (c) Contributors, http://opensimulator.org/
3 * See CONTRIBUTORS.TXT for a full list of copyright holders. 3 * See CONTRIBUTORS.TXT for a full list of copyright holders.
4 * 4 *
@@ -151,7 +151,7 @@ namespace OpenSim.Region.CoreModules.Framework.Statistics.Logging
151 string path = (m_logDirectory.Length > 0 ? m_logDirectory 151 string path = (m_logDirectory.Length > 0 ? m_logDirectory
152 + System.IO.Path.DirectorySeparatorChar.ToString() : "") 152 + System.IO.Path.DirectorySeparatorChar.ToString() : "")
153 + String.Format("{0}{1}.log", LogFileHeader, now.ToString("yyyyMMddHHmmss")); 153 + String.Format("{0}{1}.log", LogFileHeader, now.ToString("yyyyMMddHHmmss"));
154 m_logFile = new StreamWriter(File.Open(path, FileMode.Append, FileAccess.Write)); 154 m_logFile = new StreamWriter(File.Open(path, FileMode.Append, FileAccess.Write, FileShare.ReadWrite));
155 } 155 }
156 if (m_logFile != null) 156 if (m_logFile != null)
157 { 157 {