Closed adaszko closed 3 years ago
In addition to feature-gating the dependency, could we also have a runtime configuration which selects this format?
In addition to feature-gating the dependency, could we also have a runtime configuration which selects this format?
Added a --gcp
CLI switch for that purpose. Hope that's what you meant.
Yeah that works, although it requires a breaking change in case yet another log format needs to be supported. I'll leave the call to @xla, @cloudhead, @FintanH
Indeed - can we do something like --log-format=gcp
? Defaults to --log-format=plain
.
Indeed - can we do something like
--log-format=gcp
? Defaults to--log-format=plain
.
Good point with the backward compatibility. It's done.
This should allow for setting simple alerts, filtering by log level, etc.