From 14222d9814f610050296021e8470b455bce8a163 Mon Sep 17 00:00:00 2001 From: Ali Ince Date: Mon, 20 Nov 2023 13:56:48 +0300 Subject: [PATCH] build: downgrade slf4j api to 1.7 (#6) --- pom.xml | 2 +- src/main/java/org/neo4j/cdc/client/CDCClient.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index a7cb6ea..0b5de68 100644 --- a/pom.xml +++ b/pom.xml @@ -40,7 +40,7 @@ UTF-8 1.0.4 3.5.10 - 2.0.9 + 1.7.36 3.3.0 2.38.0 1.19.0 diff --git a/src/main/java/org/neo4j/cdc/client/CDCClient.java b/src/main/java/org/neo4j/cdc/client/CDCClient.java index 2d7e7a1..45771ad 100644 --- a/src/main/java/org/neo4j/cdc/client/CDCClient.java +++ b/src/main/java/org/neo4j/cdc/client/CDCClient.java @@ -164,6 +164,6 @@ private Mono queryForChangeIdentifier(String query, String des RxSession::close) .doOnSubscribe(s -> log.trace("subscribed to {}", description)) .doOnSuccess(c -> log.trace("subscription to {} completed with '{}'", description, c)) - .doOnError(t -> log.atError().setCause(t).log("subscription to {} failed", description)); + .doOnError(t -> log.error("subscription to {} failed", description, t)); } }