Closed jpasqua closed 10 years ago
Added a mechanism to keep a set number of previous log files around. The log files are named: visibletesla-NN.log where NN is a 2 digit number that increases from 00 (the newest log file) to 03 (the oldest log file). At the moment, the max number of log files is hard coded. It doesn't seem worth a preference but that would be easy to add.
Each time the app is started, visibletesla-03.log is deleted if it exists. The other log files have their generation number incremented. 02 becomes 03, 01 becomes 02, and 00 becomes 01.
Released in 0.25.07
Right now the log file is overwritten every time the app runs. Do something better than this. At a minimum keep one old log file.