Claude Transcripts docs GitHub
Work in progressUnder active development — not tested as ready for use. Breaking changes land without notice, stored data may need to be discarded between revisions, and there is no auth or security model.

18. Application/operational logs go to CouchDB (separate database)

Date: 2026-06-18

Status

Accepted, not yet implemented. Amended 2026-09-30 — see Amendment.

Context

The system itself — webapi, webui, CLI, hook — produces operational logs (failures, errors, diagnostics). These are distinct from the session data the product is about. We need somewhere to aggregate them, and we'd rather not add a new piece of infrastructure when we already run a document store with an HTTP API.

Decision

Aggregate the application's own logs into CouchDB, in a separate database from the session data (claude-transcripts-app-logs alongside claude-transcripts-sessions; both names were shorter when this was written and are per-instance configurable). All components — webapi, webui (client errors shipped via the webapi), CLI, hook — write their operational log/error records there, through the webapi (per ADR 0016).

Consequences

Amendment: nothing writes the app-logs database yet

2026-09-30.

Not built yet. The webapi creates the app-logs DB at boot (as it does every couchdb.databases entry), but nothing writes to it: the app-log action is implemented: false and there is no ingest route. Components log to stderr (the webui to the console). Schema: app-logging.md.