Re:Nomad vs. Kubernetes
by EdwardDiego on Friday October 15, 2021 @08:32PM
(#28884613)
Sorry was referring more to the many different incompatible logging libraries in play.
Also the inability in the ones I've used for the person running the app to set a particular logger to a desired level easily.
I think klog can do this with the vmodules flag, if, and only if, the devs used klog.V() for their logging statements.
Logrus requires the dev to allow the user to configure the log level, common idiom I've encountered is doing so via an env var, but IIRC, that applies to all logging in the app, no way to limit it to particular files/modules.
It's been a real pain at times for me. Feels like the Go philosophy on logging focuses more on the dev controlling it, than the person running it.
-- edit typo