Skip to content

Commit

Permalink
Improve logging
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonOellerer committed Aug 28, 2023
1 parent 907bdaa commit 0793dd7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Expand Up @@ -8,7 +8,7 @@ plugins {
}

group 'com.docutools'
version = '1.6.7'
version = '1.6.8'

java {
toolchain {
Expand Down
Expand Up @@ -329,7 +329,7 @@ private Optional<PlaceholderData> doReflectiveResolve(String placeholderName, Lo
.map(IterablePlaceholderData::of);
}
if (customPlaceholderRegistry.governs(placeholderName, bean)) {
logger.info("Placeholder {} handled by custom registry", placeholderName);
logger.debug("Placeholder {} handled by custom registry", placeholderName);
return customPlaceholderRegistry.resolve(placeholderName, bean);
}
var wrappedProperty = getBeanProperty(placeholderName);
Expand Down
Expand Up @@ -425,7 +425,7 @@ private static Optional<String> getText(XWPFParagraph paragraph) {
if (rawText != null && !rawText.isBlank()) {
return Optional.of(rawText);
}
logger.info("Failed to get text from paragraph {}", paragraph);
logger.debug("Paragraph {} did not contain any text", paragraph);
return Optional.empty();
}

Expand Down

0 comments on commit 0793dd7

Please sign in to comment.