Skip to content

Commit

Permalink
Filter out log lines coming from Narayana recovery service startup
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmet authored and igorregis committed Oct 16, 2022
1 parent d362496 commit 4f4a483
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
import io.quarkus.deployment.builditem.nativeimage.NativeImageSystemPropertyBuildItem;
import io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem;
import io.quarkus.deployment.builditem.nativeimage.RuntimeInitializedClassBuildItem;
import io.quarkus.deployment.logging.LogCleanupFilterBuildItem;
import io.quarkus.gizmo.ClassCreator;
import io.quarkus.narayana.jta.runtime.CDIDelegatingTransactionManager;
import io.quarkus.narayana.jta.runtime.NarayanaJtaProducers;
Expand Down Expand Up @@ -173,4 +174,8 @@ void unremovableBean(BuildProducer<UnremovableBeanBuildItem> unremovableBeans) {
unremovableBeans.produce(UnremovableBeanBuildItem.beanTypes(TransactionManager.class));
}

@BuildStep
void logCleanupFilters(BuildProducer<LogCleanupFilterBuildItem> logCleanupFilters) {
logCleanupFilters.produce(new LogCleanupFilterBuildItem("com.arjuna.ats.jbossatx", "ARJUNA032010:", "ARJUNA032013:"));
}
}

0 comments on commit 4f4a483

Please sign in to comment.