code: public void setConfig(LogFileConfiguration config) {
          this.config = config == null ? null : config.readOnlyCopy();
          if (config == null) {
              Log.w(
                  DOMAIN,
                  "Database.log.getFile().getConfig() is now null, meaning file logging is disabled.  "
                      + "Log files required for product support are not being generated.");
          }
  
          updateConfig();
      }
docs: Sets the configuration currently to use on the file logger.
  Note that once it is set, it can no longer be modified and doing so
  will throw an exception
  
  @param config The configuration to use