APISonar


org.apache.geode.internal.logging.log4j.LogWriterAppenders.Identifier.SECURITY

> org > apache > geode > internal > logging > log4j > LogWriterAppenders > Identifier > SECURITY
org APIs apache APIs geode APIs internal APIs logging APIs log4j APIs LogWriterAppenders APIs Identifier APIs SECURITY APIs

Example 1
private static void removeLocator(InternalLocator locator) {
    if (locator == null) {
      return;
    }
    synchronized (locatorLock) {
      LogWriterAppenders.stop(LogWriterAppenders.Identifier.MAIN);
      LogWriterAppenders.stop(LogWriterAppenders.Identifier.SECURITY);
      LogWriterAppenders.destroy(LogWriterAppenders.Identifier.MAIN);
      LogWriterAppenders.destroy(LogWriterAppenders.Identifier.SECURITY);
      if (locator.equals(InternalLocator.locator)) {
        InternalLocator.locator = null;
      }
    }
  }