Actions
Bug #1145
openoflog seems to "lose" log files when renaming
Status:
New
Priority:
Normal
Assignee:
-
Category:
Library
Target version:
-
Start date:
2025-01-17
Due date:
% Done:
0%
Estimated time:
Module:
oflog
Operating System:
Windows
Compiler:
Description
The oflog logger can be configured to create a new log file once a certain file size has been reached and to rotate file names with a selectable number of log files to be kept.
Apparently during the renaming process that occurs when a new log file is started, files may get lost somehow, at least on Windows.
See DCMTK forum posting https://forum.dcmtk.org/viewtopic.php?t=5411.
The attached sample code was posted to the DCMTK forum. Note that it is intended for Windows and will require Boost to be present.
Files
No data to display
Actions