docs(logging): Update documentation for session-based logging and management

This commit is contained in:
2026-02-26 09:19:56 -05:00
parent 23c0f0a15a
commit 04a991ef7e
3 changed files with 75 additions and 6 deletions

View File

@@ -4,6 +4,11 @@ from datetime import datetime, timedelta
from log_registry import LogRegistry
class LogPruner:
"""
Handles the automated deletion of old and insignificant session logs.
Ensures that only whitelisted or significant sessions (based on size/content)
are preserved long-term.
"""
def __init__(self, log_registry: LogRegistry, logs_dir: str):
"""
Initializes the LogPruner.