how to take backup of log file generated by QuickFix in .net
Brought to you by:
orenmnero
Hi Team ,
Can you please clarify on how to take the back up of log file generated by QuickFix in C# .Net and use of FileLogBackupPath in QuickFix config
I tried code snippet posted in this post, but not able to find the getSessions method in initiator object and getLog is also not present.
ArrayList sessions = initiator.getSessions();
{
foreach (var session in sessions)
{
SessionID sessionId = (SessionID)session;
Log logFile = Session.lookupSession(sessionId).getLog();
logFile.backup();
}
}