{
  "slug": "datadog-ci-adds-global-log-format-json-option-5398ec859ddc",
  "title": "datadog-ci adds global --log-format json option",
  "tools": [
    "datadog-ci"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-06-29T15:40:38.000Z",
  "announced_at": "2026-06-29T15:40:38.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When using datadog-ci v5.20.0 and a workflow needs JSON-formatted output, add the global `--log-format json` option to the command. The official v5.20.0 release note confirms the option was added, but the documentation found does not show a runnable command or specify option placement.",
    "gotchas": [
      "Version: v5.20.0",
      "--log-format (required): Global option; the release note adds the `json` format value. Detailed flag behavior and placement are not documented on the pages found.",
      "Prerequisite: Use datadog-ci v5.20.0 or later for this added option."
    ]
  },
  "why_it_matters": "Format datadog-ci command output as JSON when a script or coding workflow consumes its logs.",
  "sources": [
    "https://github.com/DataDog/datadog-ci/releases/tag/v5.20.0"
  ],
  "rank": 0.92025,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave2a-20261017",
    "verdict_id": "wave2a-20261017:wave2a-20261017-a9b38ce57c185641-0:gate",
    "evidence_hash": "ffc8c8e433c6e6bffa473220b088c57b8db0a863eddcd45bdaef8991cfc340c3"
  },
  "review": {
    "draft_hash": "63b9e847a767906e1710281d80302845b2cf9095647501f2747737dfb7c11d25",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2a-20261017:gate",
    "reason": "2 of 3 judge runs approved with p_yes >= 0.9 (mean 0.92 >= 0.9; 2 needed) and Jev gave 0.75 (>= 0.6 needed)."
  }
}
