code: public static ConfigurationPersistence getConfigurationPersistence(final LogContext logContext) {
          if (logContext == null) return null;
          return (ConfigurationPersistence) logContext.getAttachment(CommonAttributes.ROOT_LOGGER_NAME, Configurator.ATTACHMENT_KEY);
      }
docs: Gets the property configurator. If the {@link ConfigurationPersistence} does not exist a {@code null} is
  returned.
  
  @param logContext the log context used to find the property configurator or to attach it to.
  
  @return the property configurator or {@code null}