Feature request: date/time stamps in logging statements
Closed this issue · 4 comments
I'd like to request that adding timestamps to all log messages be considered.
Currently without date/timestamps it is hard to relate entries in the debug.log file to entries in the BOINC event log. Also when just looking at the debug.log file it is difficult to track changes over days.
It would also be useful if on startup the very first thing FTM did is log a startup entry which includes a separator along with date/time and the version number.
I thing this would make parsing and monitoring the log much easier.
This is a feature that should definitely be added. Probably won't be done soon, but the next time I'm making significant changes this will get added in (there's some other fixes regarding url handling and code simplicity that should be done as well). I'll leave this open until then as a reminder.
I also know how to do branching in git, which I didn't before, which should enable a "testing" and "stable" branch instead of just immediately pushing everything to live production.
Having a dev (or develop) branch is definitely a good idea also... do you dev in dev, then merge "alpha/beta" to testing and fix any minor issues there, when that works merge to main. Some projects skip the testing branch but run feature branches instead. The feature branches merge to dev, which is used for testing but not active development, and then to main.
Go with whichever flavour you like best.
The nice thing about having a testing/dev branch and feature branches is that we users can checkout the testing/dev branch and test functionality while the developer(s) continue working on the feature branches. If we find a show-stopping bug we can easily switch back to the main branch and carry on until the bug is fixed.
Fixed in latest release v 3.0