Stdio
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.
Params
Configuration format for the stdio
adapter
Params.Level
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 |
Params.Stream
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. |