Allow default logging severity for unit tests to be specified and overridden by an environment variable.