We are using Smartinspect for a long time and very happy with it.
Unfotunately, I received some log files from our customer where I noticed that sometimes after an application crash the log file gets corrupted (lots of black lines/separators displayed when opening the file).
The configuration is:
initializeData="file(filename=…\temp\shellDebugLog.sil, append=true, maxparts=14, maxsize=100000, rotate=daily)
I observed that when the application is restarted after a crash with the log file is corrupted, I have no new readable log entries written into the log file( or they are written but the file is still corrupted), and the error that triggered the crash is not recorded in the log file(normally it is logged).
There are 2 main problems I would need a solution:
- When the application is restarted after a crash with corrupted log file, the new log entries to be saved and readable.
- Have the error that triggered the crash logged.
I was also wondering if there is a way to fix the corrupted .sil file?