Set default log level to environment variable, or warn