Can anyone please share a task bot which I can use for “Logs File mechanism”
- Create log folder e.g. Logs
- Create Folder for the Day 19052023
- 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
- Then Log_hr_2 for the next hour and so on
- 25th file will be Log_Final.txt to compress end of the day log files all in 1
- Also every month’s folders further then zipped
Basically how mature applications store logs, I wish to do something similar.