Question

Logging Mechanism built to store ongoing Bot Logs

  • 19 May 2023
  • 0 replies
  • 11 views

Badge +3

Can anyone please share a task bot which I can use for “Logs File mechanism” 

 

  1. Create log folder e.g. Logs
  2. Create Folder for the Day 19052023
  3. Within this folder log file for every 1 hr so total of 25 files Log_hr_1.txt and we store what we want to for 1 hr
  4. Then Log_hr_2 for the next hour and so on
  5. 25th file will be Log_Final.txt to compress end of the day log files all in 1 
  6. Also every month’s folders further then zipped 

Basically how mature applications store logs, I wish to do something similar.


0 replies

Be the first to reply!

Reply