INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Keep more than 1 (previous) log file  (Read 460 times)

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4226
Keep more than 1 (previous) log file
« on: June 12, 2021, 07:06:21 am »

Keeping just one previous log file makes it harder to track what is going on if there are issues that involve MC crashing or restarting (either MC or the host machine), it would be much nicer if more files were kept around.

My preference would be to store x days worth of previous log files and to append a timestamp (start time of the file or restart time, i.e. the time it was mv'ed, is fine) to the file to make it easy to see the history (in order and relate that to when things actually happened in real time). If I had to pick a value for x then I'd say 2 days would be sufficient for most debugging purposes.
Logged
Pages: [1]   Go Up