DataMind Oda saves a log of every chat as files on your computer. This page shows where those files live, how Oda names and keeps them, and how to back them up or read them. What a log contains and the rules for reading it are on Chat log format.
Oda keeps every chat under a single folder on the computer; this page calls it the log folder. Inside it, chats are grouped by the folder they work in, and every chat has a folder of its own. A chat with compression on looks like this:
<log folder>/
--<working folder>--/
<chat folder>/
session.v4.jsonl.zstd--, and a chat with no working folder sits in a group called _no-cwd.session. jsonl. Later formats add their version to the name, as in session. v1. jsonl; the current format is v4.Oda adds log files; it never renames, replaces or deletes an existing generation.
session. v1. backup. jsonl, is not treated as a log.. zstd.Oda keeps each chat's log in order by allowing one writer per chat at a time.
session. lock marks the chat being written. If a chat stays locked because the process holding it cannot continue, removing this file frees the chat for the next writer. Do this only when you are sure that process will not write the chat again.To keep a backup, copy the whole log folder to a safe place.
All chat logs live under one folder, the log folder set for your installation. Inside it, chats are grouped by the folder they work in, and every chat has a folder of its own. If you are not sure which folder was chosen, ask your DataMind OS administrator.
A chat reaches disk only after it first has content. Until the chat starts, Oda writes nothing for it, and a chat you never used leaves no files, even if Oda stops suddenly.
session. is the oldest log format; later formats add their version, as in session., and the name ends in . when compression is on. When Oda updates a log from an older format, the new file is added beside the old one, so a chat can have several generations side by side. The newest generation is the chat's current state, and Oda never renames, replaces or deletes the older ones.
Copy the whole log folder to a safe place. Every chat folder is self-contained and keeps the chat's earlier generations, so the copy holds everything. To use a copy, put it back keeping the folder shape and the saved form; Oda refuses a log that sits in the wrong place or form rather than read it wrongly.
With compression off, yes: the log is plain text, one JSON object per line. With the default compression, read the chat in Oda, because the compressed form is built to be read by Oda. What a log contains and the rules for reading it are on Chat log format.
No. Oda never removes or trims log files, older generations included, and there is no delete-all action. Log files stay until someone removes them, so keep backups of anything you need.
session. lock file?On some systems Oda keeps a small file named session. in a chat's folder while the chat is being written. The lock ends with its process, so a crash leaves no stuck lock. If a chat stays locked because the process holding it cannot continue, removing the file frees the chat for the next writer; do this only when you are sure that process will not write the chat again.
No. Oda checks the log files it opens and refuses one that changed outside Oda rather than guess, so a hand edit can leave a chat that will not open. Back files up instead of editing them.