At program startup, I record the version info of the program to my log. It would be nice to declare these log lines as a part of a preamble that every new log file starts with. That way the critical version of code and the command-line and config arguments are preserved, even if it is a month later and the original log has long ago been rotated away.
At program startup, I record the version info of the program to my log. It would be nice to declare these log lines as a part of a preamble that every new log file starts with. That way the critical version of code and the command-line and config arguments are preserved, even if it is a month later and the original log has long ago been rotated away.