The concept of having a "global log level" which can change is a data race. But ...

@marshray@infosec.exchange

The concept of having a "global log level" which can change is a data race.

But this is not usually a problem because programs tend to set this level early in operation (e.g. from command line options and environment vars) and not modify it again.