[storage]
Where Prism keeps its state and how long it keeps request history.
| Key | Type | Default | Description |
|---|---|---|---|
storage.dir |
string | "data" |
dir is the state directory: routing log, accounts, console settings, token file and caches (default data, relative to the working directory). |
storage.log_retention_days |
integer | 365 |
log_retention_days is how many days the request history stays in the routing database; older records move to gzip archives kept for seven years. The default and the minimum are both 365: 0 keeps 365, and a smaller value is raised to 365. |