@Override public boolean removeLoggerConfiguration(final String loggerName) { synchronized (LOCK) { return delegate.removeLoggerConfiguration(loggerName); } }
@Override public boolean removeLoggerConfiguration(final String loggerName) { synchronized (LOCK) { return delegate.removeLoggerConfiguration(loggerName); } }
@Override public boolean removeLoggerConfiguration(final String loggerName) { synchronized (LOCK) { return delegate.removeLoggerConfiguration(loggerName); } }
@Override public void performRuntime(final OperationContext context, final ModelNode operation, final LogContextConfiguration logContextConfiguration, final String name, final ModelNode model) throws OperationFailedException { // Disable the logger before removing it final String loggerName = getLogManagerLoggerName(name); final LoggerConfiguration configuration = logContextConfiguration.getLoggerConfiguration(loggerName); if (configuration == null) { throw createOperationFailure(LoggingMessages.MESSAGES.loggerNotFound(loggerName)); } logContextConfiguration.removeLoggerConfiguration(loggerName); } };
@Override public void performRuntime(final OperationContext context, final ModelNode operation, final ModelNode model, final LogContextConfiguration logContextConfiguration) throws OperationFailedException { // Disable the logger before removing it final String loggerName = getLogManagerLoggerName(context.getCurrentAddressValue()); final LoggerConfiguration configuration = logContextConfiguration.getLoggerConfiguration(loggerName); if (configuration == null) { throw createOperationFailure(LoggingLogger.ROOT_LOGGER.loggerNotFound(loggerName)); } logContextConfiguration.removeLoggerConfiguration(loggerName); } };
@Override public void performRuntime(final OperationContext context, final ModelNode operation, final ModelNode model, final LogContextConfiguration logContextConfiguration) throws OperationFailedException { // Disable the logger before removing it final String loggerName = getLogManagerLoggerName(context.getCurrentAddressValue()); final LoggerConfiguration configuration = logContextConfiguration.getLoggerConfiguration(loggerName); if (configuration == null) { throw createOperationFailure(LoggingLogger.ROOT_LOGGER.loggerNotFound(loggerName)); } logContextConfiguration.removeLoggerConfiguration(loggerName); } };
logContextConfiguration.removeLoggerConfiguration(CommonAttributes.ROOT_LOGGER_NAME); for (String name : configuredLoggerNames) { LoggingLogger.ROOT_LOGGER.tracef("Removing logger configuration for '%s'", name); logContextConfiguration.removeLoggerConfiguration(name);
logContextConfiguration.removeLoggerConfiguration(CommonAttributes.ROOT_LOGGER_NAME); for (String name : configuredLoggerNames) { LoggingLogger.ROOT_LOGGER.tracef("Removing logger configuration for '%s'", name); logContextConfiguration.removeLoggerConfiguration(name);
logContextConfiguration.removeLoggerConfiguration(CommonAttributes.ROOT_LOGGER_NAME); for (String name : configuredLoggerNames) { LoggingLogger.ROOT_LOGGER.tracef("Removing logger configuration for '%s'", name); logContextConfiguration.removeLoggerConfiguration(name);
loggersToRemove.removeAll(Arrays.asList(loggerNames)); for (String loggerName : loggersToRemove) { config.removeLoggerConfiguration(loggerName);
logContextConfiguration.removeLoggerConfiguration(name);
logContextConfiguration.removeLoggerConfiguration(s1);
logContextConfiguration.removeLoggerConfiguration(name);
logContextConfiguration.removeLoggerConfiguration(s1);