Menu

#107 how to take backup of log file generated by QuickFix in .net

open
nobody
None
1
2019-05-13
2019-05-13
abhay
No

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();
}
}

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.