DOCS / CONFIGURATION

logs settings

Log collection and retention (Roundup Logs).

Keys

KeyTypeDefaultDescription
levelstringinfoMinimum level to collect
retentionduration30dHot storage retention
archive_afterduration30dMove to the Frozen Chicken Archive after this
redactarray[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.