private static ConfigurationPersistence getConfigurationPersistence(final OperationContext context) { final PathAddress address = context.getCurrentAddress(); final LogContext logContext; if (LoggingProfileOperations.isLoggingProfileAddress(address)) { logContext = LoggingProfileContextSelector.getInstance().get(LoggingProfileOperations.getLoggingProfileName(address)); } else { logContext = LogContext.getLogContext(); } return ConfigurationPersistence.getConfigurationPersistence(logContext); }
private static ConfigurationPersistence getConfigurationPersistence(final OperationContext context) { final PathAddress address = context.getCurrentAddress(); final LogContext logContext; if (LoggingProfileOperations.isLoggingProfileAddress(address)) { logContext = LoggingProfileContextSelector.getInstance().get(LoggingProfileOperations.getLoggingProfileName(address)); } else { logContext = LogContext.getLogContext(); } return ConfigurationPersistence.getConfigurationPersistence(logContext); }
final LogContext logContext = contextSelector.get(loggingProfile); if (logContext != null) { context.addStep(new OperationStepHandler() {
final LogContext logContext = contextSelector.get(loggingProfile); if (logContext != null) { context.addStep(new OperationStepHandler() {
final LogContext logContext = contextSelector.get(loggingProfile); if (logContext != null) { context.addStep(new OperationStepHandler() {
final LogContext logContext = loggingProfileContext.get(loggingProfile); LoggingExtension.CONTEXT_SELECTOR.registerLogContext(module.getClassLoader(), logContext); LoggingLogger.ROOT_LOGGER.tracef("Registering log context '%s' on '%s' for profile '%s'", logContext, root, loggingProfile);
final LogContext logContext = loggingProfileContext.get(loggingProfile); LoggingLogger.ROOT_LOGGER.tracef("Registering log context '%s' on '%s' for profile '%s'", logContext, root, loggingProfile); registerLogContext(deploymentUnit, module, logContext);
final LogContext logContext = loggingProfileContext.get(loggingProfile); LoggingLogger.ROOT_LOGGER.tracef("Registering log context '%s' on '%s' for profile '%s'", logContext, root, loggingProfile); registerLogContext(deploymentUnit, module, logContext);