Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg/util/log: remove stderr config code for deprecated log format
Code used to validate the stderr config parsing previously checked to see if the `crdb-v1-tty` format was being used when `auditable: true` was set. If it was, it changed the format to `crdb-v1-tty-count`. However, the `crdb-v1` log formats have long been deprecated, and the official logging documentation states: https://www.cockroachlabs.com/docs/stable/configure-logs#output-to-stderr > Note: The `format` parameter for `stderr` is set to `crdb-v2-tty` and cannot be changed. Given this, it not longer makes sense to have code that accounts for a stderr log format that's no longer valid. Instead, we should *always* assert the format to be `crdb-v2-tty` to align with what our documentation says. A following patch will add this assertion. Release note: none
- Loading branch information