Skip to main content Skip to page footer

Retention of conversations

Conversations are cleaned up in two stages:

  1. Marked as deleted: conversations whose last activity is older than chatSessionLifetimeDays (default 20 days). The record stays for the time being.
  2. 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.

The clean-up command

The clean-up does not happen on its own, it needs a regular run. As an alternative to the console call, the command can be registered in the scheduler module as a recurring task. A daily run is recommended.

Cleaning up conversations

vendor/bin/typo3 cheddi:auto-delete-sessions

Logs

ChEddi writes two logs:

  • var/log/cheddi_warnings.log for warnings and errors. Always active.
  • var/log/cheddi.log for the verbose trace: chosen model, offered and called tools, charged credits. Controlled through chatLogVerbose.

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.