Log Formats
Configure structured log output for self-hosted containers.
Deepgram self-hosted containers support four log output formats. Use the --log-format CLI flag to select the format that best fits your logging infrastructure.
This flag applies to all self-hosted container images: API, Engine, License Proxy, and Billing.
Available Formats
Configuration
The log format is set as a CLI flag appended to the containerβs command. It is not configured via TOML.
Docker Compose
Kubernetes (Helm)
In a Helm values override, set the command args for each container:
The API container also accepts a legacy --json flag for JSON output. If both --json and --log-format are specified, --log-format takes precedence.
Example Output
Full (default)
Compact
Pretty
Json
Availability
The --log-format flag is available in release 260319 and later on all self-hosted container images.
Whatβs Next
- Metrics Guide - Monitor your deployment with Prometheus metrics
- Status Endpoint - Check node health and readiness