diff --git a/QuickFIXn/ClientHandlerThread.cs b/QuickFIXn/ClientHandlerThread.cs index 7130988ca..0396eb748 100755 --- a/QuickFIXn/ClientHandlerThread.cs +++ b/QuickFIXn/ClientHandlerThread.cs @@ -62,7 +62,9 @@ public ClientHandlerThread(TcpClient tcpClient, long clientId, QuickFix.Dictiona debugLogFilePath = settingsDict.GetString(SessionSettings.FILE_LOG_PATH); // FIXME - do something more flexible than hardcoding a filelog - log_ = new FileLog(debugLogFilePath, new SessionID("ClientHandlerThread", DateTime.UtcNow.Ticks.ToString(), "Debug")); + log_ = new FileLog(debugLogFilePath, new SessionID( + "ClientHandlerThread", clientId.ToString(), "Debug-" + Guid.NewGuid().ToString())); + //log_ = new FileLog(debugLogFilePath, new SessionID("ClientHandlerThread", clientId.ToString(), "Debug")); this.Id = clientId; socketReader_ = new SocketReader(tcpClient, socketSettings, this);