Reduce noisy missing-text warning

Change-Id: I2c349c86d81ffa32ec060062c2c9068185335195
diff --git a/app/src/main/kotlin/de/ids_mannheim/korapxmltools/KorapXmlTool.kt b/app/src/main/kotlin/de/ids_mannheim/korapxmltools/KorapXmlTool.kt
index 7ff2526..b199b70 100644
--- a/app/src/main/kotlin/de/ids_mannheim/korapxmltools/KorapXmlTool.kt
+++ b/app/src/main/kotlin/de/ids_mannheim/korapxmltools/KorapXmlTool.kt
@@ -5241,16 +5241,16 @@
 
         synchronized(textData) {
             // Capture values locally to avoid TOCTOU race conditions
-            // If text content is missing but we have tokens, try to reconstruct it or warn
-            if (textData.textContent == null) {
-                LOGGER.warning("Text content missing for $docId, but tokens present. Krill output may be incomplete.")
-                textData.textContent = de.ids_mannheim.korapxmltools.NonBmpString("")
-            }
             val text = texts[docId]
             if (text != null) {
                 textData.textContent = text
             }
             val tokenArray = tokens[docId]
+            // Only log if the base text is actually unavailable after checking the source map.
+            if (textData.textContent == null && tokenArray != null) {
+                LOGGER.info("Text content missing for $docId, but tokens present. Krill output may be incomplete.")
+                textData.textContent = de.ids_mannheim.korapxmltools.NonBmpString("")
+            }
             if (tokenArray != null) {
                 textData.tokens = tokenArray
             }