diff options
Diffstat (limited to 'OpenSim')
-rwxr-xr-x | OpenSim/Region/CoreModules/Framework/Statistics/Logging/LogWriter.cs | 4 |
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 | { |