When setting the stat server log level via an environment variable. previously the log config was not being built so logs would not be produced. This also prevented logs from being produced when set via the admin api after the server started without a log config. This fix builds the log config so that the log level is applied and logs are produced.
Tested this locally with a gloo image that pulled in this change and a defined the env var.
When setting the stat server log level via an environment variable. previously the log config was not being built so logs would not be produced. This also prevented logs from being produced when set via the admin api after the server started without a log config. This fix builds the log config so that the log level is applied and logs are produced.
Tested this locally with a gloo image that pulled in this change and a defined the env var.