code: protected void checkLoggingSettings() {
          final LoggingSettings logSettings = settings.getLoggingSettings();
          final LogFile logFileSettings = logSettings.getLogFile();
  
          if(logFileSettings.getCurrentLogFilename() != null &&
             logFileSettings.isEnabled() == false) {
              LOG.warn("You specified a log file, but have it disabled");
          }
  
          if(logFileSettings.isEnabled() &&
             logFileSettings.getCurrentLogFilename() == null) {
              throw new IllegalStateException("You enabled logging to a file, but didn't specify the file name");
          }
      }
docs: Runs some checks over the log settings before building a {@link Corquet} instance.