org.wildfly.extras.creaper.commands.logging.RemoveLogger.groovy Maven / Gradle / Ivy
def logger = logging.logger.find { it.@category == category }
if (!logger) {
throw new IllegalStateException("Can't remove logger $category as it does not exist in the configuration")
}
logger.replaceNode {}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy