Repository navigation
v1.1 - --cli flag for manual runs
Changes in v1.1
New: --cli flag for manual runs
log_agent.py can now be run by hand with the new --cli flag:
sudo python3 log_agent.py --cli- No Pushover notification is sent. The alert ("Errors Found" or "All OK") is
printed to the terminal instead of being pushed to Pushover. - Pushover credentials are not required in
--climode — onlyAI_API_KEY
must be set inlog_agent.conf. - The AI analysis and the JSON report are still produced exactly as before.
Other
- Added 2 unit tests for the new CLI-mode behaviour (
test_log_agent.py,
21 tests in total, all passing). - README: documented the new "Running manually" section and updated the feature
list and test coverage.
Files changed
log_agent.pytest_log_agent.pyREADME.md