From 44116c13dbf3aa68096b993b86eb4359edb87cee Mon Sep 17 00:00:00 2001
From: "Stefan E. Funk" <funk@sub.uni-goettingen.de>
Date: Thu, 3 Feb 2022 14:12:42 +0100
Subject: [PATCH] Adjust logging

---
 .../services/aggregator/util/TextGridRepProvider.java     | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/main/java/info/textgrid/services/aggregator/util/TextGridRepProvider.java b/src/main/java/info/textgrid/services/aggregator/util/TextGridRepProvider.java
index 8e0c2ec..8ed243a 100644
--- a/src/main/java/info/textgrid/services/aggregator/util/TextGridRepProvider.java
+++ b/src/main/java/info/textgrid/services/aggregator/util/TextGridRepProvider.java
@@ -172,11 +172,13 @@ public Properties getLocalConfig() {
 	public TGCrudService getCRUDService() {
 		if (crud == null) {
 			try {
-				crud = TGCrudClientUtilities.getTgcrud(
+
+              logger.info("Confserv TG-crud entry: " + getConfValue(ConfservClientConstants.TG_CRUD));
+
+              crud = TGCrudClientUtilities.getTgcrud(
 						getConfValue(ConfservClientConstants.TG_CRUD), true);
 				
-				logger.info("### tgcrud cnfserv: " + getConfValue(ConfservClientConstants.TG_CRUD));
-				logger.info("### tgcrud version: " + crud.getVersion());
+				logger.info("TG-crud version: " + crud.getVersion());
 				
 			} catch (final MalformedURLException e) {
 				throw new IllegalArgumentException(e);
-- 
GitLab