aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
authorOren Hurvitz2014-07-14 12:39:20 +0300
committerOren Hurvitz2014-07-21 09:27:57 +0100
commit4804edf77fa2b3fe717a3fb95e6d5ba4692dc630 (patch)
tree05f182edf12b8587a40f3b8b1abb2c40cefa197b /OpenSim/Region/CoreModules
parentXBakes: store the assets only in the sim's local assets cache; not in the mai... (diff)
downloadopensim-SC_OLD-4804edf77fa2b3fe717a3fb95e6d5ba4692dc630.zip
opensim-SC_OLD-4804edf77fa2b3fe717a3fb95e6d5ba4692dc630.tar.gz
opensim-SC_OLD-4804edf77fa2b3fe717a3fb95e6d5ba4692dc630.tar.bz2
opensim-SC_OLD-4804edf77fa2b3fe717a3fb95e6d5ba4692dc630.tar.xz
Allow reading the BulletSim detail log while the sim is running
Diffstat (limited to 'OpenSim/Region/CoreModules')
-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 {