Open Karen-Schoener opened 1 month ago
As a first step, I plan to refer to this example to change the log level. https://pkg.go.dev/log/slog@master#example-Handler-LevelHandler
Also, we'll need to discuss: how does log level get set (env var, crd attribute, etc.).
For a simple way to change slog log level, refer to link: https://pkg.go.dev/golang.org/x/exp/slog#hdr-Levels
In v2, add the ability to configure the skupper-controller log level.
Preferably, add the ability to configure log level dynamically.
Work is underway to update the skupper-controller to issue logs via slog (at levels: debug, info, error, etc.) For reference, see ticket https://github.com/skupperproject/skupper/issues/1692.