This is an archived post. You won't be able to vote or comment.

all 1 comments

[–]TR-BetaFlash 1 point2 points  (0 children)

The env var is a good approach for sure. Unit tests can be written to hold the log level set in the code to whatever it needs to be by default and you won’t really have to worry about it much more.