Retention of conversations
Conversations are cleaned up in two stages:
- Marked as deleted: conversations whose last activity is older than
chatSessionLifetimeDays(default 20 days). The record stays for the time being. - Deleted for good: after another seven days, together with the messages, the change log and the attachments.
The grace period of seven days is built in, only the first stage is configurable.
Cleaning up conversations
vendor/bin/typo3 cheddi:auto-delete-sessions
Logs
ChEddi writes two logs:
var/log/cheddi_warnings.logfor warnings and errors. Always active.var/log/cheddi.logfor the verbose trace: chosen model, offered and called tools, charged credits. Controlled throughchatLogVerbose.
In both, bearer tokens, long hex hashes and email addresses are redacted automatically, as are the patterns from the MCP configuration and your own from chatLogRedactionPatterns. Switch the verbose trace off in production once monitoring is mature.