mrwatson-de/fmWorkMate

fmLogAnalyser: Add automatic log archiving

mrwatson-de opened this issue · 0 comments

Wouldn't it be good, if fmLogAnalyser could automatically reduce the size of the import.log file, so that processing times remain small?!

Automatically archive file

Trigger on?

  • Date
    • ...by year/quarter/month
  • Size
    • max size MB reached
  • Processing Time
    • when load time > # Seconds

And do what?

  • delete file
  • archive & delete file
  • archive half (or # %) of the data (so that recent errors are not removed / overlooked)

archived file?

  • overwrite
  • append date / timestamp
  • append YYYY or YYYYMM or YYYYQ# depending on time-trigger
  • append YYYYMMDD representing the date of the contents (when % of data written)