code: func getDefaultLogLevel() logrus.Level {
  	config, err := configuration.New("")
  	if err != nil {
  		logrus.Errorf("error getting configuration data")
  	}
  
  	logLevel, err := logrus.ParseLevel(config.GetLogLevel())
  	if err != nil {
  		logrus.Warnf("unable to parse log level configuration error: %q", err)
  		return logrus.InfoLevel // reset to INFO
  	}
  	return logLevel
  }
docs: // getDefaultLogLevel extracts the log level out of the ENV variable. It is used
  // in tests and as default static initialization of the log. If the ENV variable
  // is not set then the log level is Info.