code: func configureDaemonLogs(conf *config.Config) error {
  	if conf.LogLevel != "" {
  		lvl, err := logrus.ParseLevel(conf.LogLevel)
  		if err != nil {
  			return fmt.Errorf("unable to parse logging level: %s", conf.LogLevel)
  		}
  		logrus.SetLevel(lvl)
  	} else {
  		logrus.SetLevel(logrus.InfoLevel)
  	}
  	logrus.SetFormatter(&logrus.TextFormatter{
  		TimestampFormat: jsonmessage.RFC3339NanoFixed,
  		DisableColors:   conf.RawLogs,
  		FullTimestamp:   true,
  	})
  	return nil
  }
docs: // configureDaemonLogs sets the logrus logging level and formatting