Menu

#70 .NET Log backup executes clear() instead of backup()

pending
nobody
None
5
2012-02-28
2011-06-09
Dominik
No

In .NET, calling backup() to backup log files (*.messages.current.log) only clears the files, but doesn't actually move the old data to the path specified in FileLogBackupPath.

On the Mailing List, Eugene was able to identify the problem.

It is located in QuickFix\src\.NET\Log.h on line 58/59.

void backup() calls m_log->clear() instead of m_log->backup().

So I think the following will fix this issue

void backup()
{ m_log->backup(); }

Discussion

  • Oren Miller

    Oren Miller - 2012-02-28
    • status: open --> pending
     
  • Oren Miller

    Oren Miller - 2012-02-28

    Checked in the fix.

     

Log in to post a comment.