Handle log level with env vars