feat: collecte automatique des logs locaux au début de chaque créneau

- _collect_local_logs() appelle journalctl en local au démarrage du slot
- collect_local_logs(since=) accessible comme méthode publique
- Skill logwatch collect [since] pour collecte manuelle à la demande
- Config: local_log_since, local_log_units, local_hostname

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-02 09:07:27 +00:00
parent bdcfff9f8e
commit c039b92d6d
6 changed files with 81 additions and 1 deletions
+3
View File
@@ -24,6 +24,9 @@
"db_path": "/opt/agent_logwatch/data/logwatch.db",
"system_prompt": "/opt/agent_logwatch/config/system_prompt.txt",
"use_llm_coordinator": true,
"local_log_since": "yesterday",
"local_log_units": [],
"local_hostname": "",
"llm_profiles": {
"cloud": "gpt-oss:120b-cloud"
}