/ Oct 21st, 2019 /

Require `encoding` option for console and file sinks

The `encoding` option is now required for these sinks

The dynamic encoding concept in Vector was confusing users, so we've made it required and explicit. Simply add encoding = "json" to your console and file sinks.

Upgrade Guide

Make the following changes in your vector.toml file:

vector.toml
[sinks.console]
type = "console"
+ encoding = "json"
[sinks.file]
type = "file"
+ encoding = "json"

That's it!

Get This Change

This change was made available in 0.6.0. You can get this change by downloading the latest stable release.

Like What You See?