From 69e4726e7a512f5d31542a5eaf902f622d5c5abc Mon Sep 17 00:00:00 2001
From: Riccardo Maria Bianchi <riccardo.maria.bianchi@cern.ch>
Date: Thu, 27 Jun 2024 10:03:46 +0200
Subject: [PATCH] Move log messages to debug

---
 GeoModelIO/GeoModelRead/src/ReadGeoModel.cpp | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/GeoModelIO/GeoModelRead/src/ReadGeoModel.cpp b/GeoModelIO/GeoModelRead/src/ReadGeoModel.cpp
index 2c7d3e1f4..43259148c 100644
--- a/GeoModelIO/GeoModelRead/src/ReadGeoModel.cpp
+++ b/GeoModelIO/GeoModelRead/src/ReadGeoModel.cpp
@@ -3170,9 +3170,12 @@ void ReadGeoModel::createBooleanShapeOperands(boolean_shapes_operands_info* shap
     if (shapes_info_sub->size() == 0) return;
 
     // debug
-    std::cout << "\ncreateBooleanShapeOperands() - start..." << std::endl;
-    inspectListShapesToBuild(*shapes_info_sub);
-    std::cout << std::endl;
+    if (m_loglevel >= 3)
+    {
+        std::cout << "\ncreateBooleanShapeOperands() - start..." << std::endl;
+        inspectListShapesToBuild(*shapes_info_sub);
+        std::cout << std::endl;
+    }
 
     // Iterate over the list. The size may be incremented while iterating
     // (therefore, we cannot use iterators)
-- 
GitLab