feat: Implement daily log rotation
- Add logging to monitor_agent.py to replace print statements. - Configure TimedRotatingFileHandler to keep logs for the past 24 hours. - Update .gitignore to exclude the new log file. - Update PROGRESS.md to reflect the completion of the task.
This commit is contained in:
@@ -68,8 +68,8 @@
|
||||
|
||||
## TODO
|
||||
|
||||
- [ ] Change baseline calculations to only use integers instead of floats.
|
||||
- [ ] Add a log file that only keeps records for the past 24 hours.
|
||||
- [x] Change baseline calculations to only use integers instead of floats.
|
||||
- [x] Add a log file that only keeps records for the past 24 hours.
|
||||
- [ ] Log all LLM responses to the console.
|
||||
- [ ] Reduce alerts to only happen between 9am and 12am.
|
||||
- [ ] Get hostnames of devices in Nmap scan.
|
||||
|
||||
Reference in New Issue
Block a user