From 2a3e5612aed9055faff63836147828a48703a375 Mon Sep 17 00:00:00 2001 From: Nathaniel Date: Fri, 10 Nov 2023 23:48:07 -0700 Subject: [PATCH] logging --- buildSrc/src/main/groovy/nucleodb.library.gradle | 2 +- .../nucleocore/library/database/tables/ConnectionHandler.java | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/buildSrc/src/main/groovy/nucleodb.library.gradle b/buildSrc/src/main/groovy/nucleodb.library.gradle index 539f978..ecec13e 100644 --- a/buildSrc/src/main/groovy/nucleodb.library.gradle +++ b/buildSrc/src/main/groovy/nucleodb.library.gradle @@ -3,7 +3,7 @@ plugins { } group = 'com.nucleodb' -version = '1.9.27' +version = '1.9.28' repositories { mavenCentral() diff --git a/library/src/main/java/com/nucleocore/library/database/tables/ConnectionHandler.java b/library/src/main/java/com/nucleocore/library/database/tables/ConnectionHandler.java index 4567408..9c8d490 100644 --- a/library/src/main/java/com/nucleocore/library/database/tables/ConnectionHandler.java +++ b/library/src/main/java/com/nucleocore/library/database/tables/ConnectionHandler.java @@ -416,6 +416,8 @@ private boolean saveInternal(Connection connection, String changeUUID) { try { String json = Serializer.getObjectMapper().getOm().writeValueAsString(patch); changes = Serializer.getObjectMapper().getOm().readValue(json, List.class); + + Serializer.log(json); if (changes != null && changes.size() > 0) { ConnectionUpdate updateEntry = new ConnectionUpdate(connection.getVersion(), json, changeUUID, connection.getUuid()); producer.push(updateEntry, null);