# ledger

Source: https://pal.konvert7.com/docs/settings/ledger

The action ledger, which records what each tool call changed.

## Keys [#keys]

| Key | Type | Default | What it does |
| --- | --- | --- | --- |
| `ledger.redactPaths` | array of string | `[]` | Glob patterns, matched against the full path and the file name, whose contents the ledger never stores. They add to the built-in secret paths and cannot remove any. |

## Example [#example]

```json title="~/.pal/settings.json"
{
  "ledger": {
    "redactPaths": [
      "**/clients/**",
      "*.pem"
    ]
  }
}
```

## Change it [#change-it]

```bash title="Terminal"
pal cli settings set ledger.redactPaths '["**/clients/**","*.pem"]'
pal cli settings get ledger
```

Each change is checked against the schema and recorded in PAL's event log. The file itself is not edited by hand.