--- title: Stdio description: Adapter to locally output logs and metrics. location: https://istio.io/docs/reference/config/policy-and-telemetry/adapters/stdio.html layout: protoc-gen-docs generator: protoc-gen-docs supported_templates: logentry,metric aliases: - /docs/reference/config/adapters/stdio.html number_of_entries: 3 ---
The stdio
adapter enables Istio to output logs and metrics to
the local machine. Logs and metrics can be directed to Mixer’s
standard output stream, standard error stream, or to any locally
reachable file. When outputting to files, you can enable file rotation
such that the adapter will automatically manage a set of file backups
as data is generated.
This adapter supports the logentry template. and the metric template.
Configuration format for the stdio
adapter
Importance level for individual items output by this adapter.
Name | Description |
---|---|
INFO |
informational, warning, and error log messages are included |
WARNING |
warning and error log messges are included |
ERROR |
only error log messages are included |
Stream is used to select between different log output sinks.
Name | Description |
---|---|
STDOUT |
Output to the Mixer process’ standard output stream. This is the default value. |
STDERR |
Output to the Mixer process’ standard error stream. |
FILE |
Output to a specific file. |
ROTATED_FILE |
Output to a specific rotating file, controlled by the various file rotation options. |