Right now(1.0.0.80) this does not happen and we have to study the logs to determine when the server crashed
Description
Details
- Severity
- None
- Resolution
- Open
- Reproducibility
- N/A
- Operating System
- Windows 7
- Category
- General
Related Objects
- Mentioned In
- T182667: Please include full date timestamp in logs
Event Timeline
Hello, if you mean unique logs directory for every server restart then that was already implemented long time ago.
We preserve logs from 10 last instances and then the most old one is deleted.
This can be tweak by -keepNumOfLogs CLI param
If you were using -logsDir CLI param then that is to specify directory where log files (console.log, error.log ...) will be stored and is intentionally supposed to be overwritten by newer logs (can be appended with -logAppend CLI param).
This behavior is intentional and is expected from user to implement his own solution to further process logs.
If this resolves your request then I will close this ticket.
Thank you for the detailed and comprehensive answer.
I didn't know about the -keepNumOfLogs parameter at all.
Yes, I think this ticket can be closed.