Keys
| Key | Type | Default | Description |
|---|---|---|---|
level | string | info | Minimum level to collect |
retention | duration | 30d | Hot storage retention |
archive_after | duration | 30d | Move to the Frozen Chicken Archive after this |
redact | array | [password, token] | Field names to scrub before storage |
Example
logs:
level: info
retention: 30d
archive_after: 30d
redact: [password, token]
Values set here apply to every environment unless overridden in a coop.production.yolk file. Read and write values from the terminal with cluck config, and validate the whole file with cluck doctor.
NoteYolkML has no tabs, no anchors, and no surprises. Indent with two spaces, and the file will behave.