Skip to content

Commit a89516d

Browse files
authored
Merge pull request #212 from RWS/avoid-verbose-logging
Removing these log messages as customer complaining of verbose logging
2 parents d8ce553 + c9a1d54 commit a89516d

2 files changed

Lines changed: 0 additions & 6 deletions

File tree

dxa-framework/dxa-tridion-common/src/main/java/com/sdl/dxa/tridion/pcaclient/DefaultApiClientProvider.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,6 @@ public void removeGlobalClaim(ClaimValue claim) {
8282
@Override
8383
public ApiClient getClient() {
8484
ClaimStore claimStore = AmbientDataContext.getCurrentClaimStore();
85-
if (claimStore == null) {
86-
log.debug("No claimstore found (is the ADF module configured in the Web.Config?) so unable to populate claims for PCA.");
87-
}
8885

8986
String previewToken = getClaimValue(WebClaims.REQUEST_HEADERS, X_PREVIEW_SESSION_TOKEN,
9087
claim -> Optional.of(((List<String>) claim).get(0)))
@@ -113,12 +110,10 @@ public ApiClient getClient() {
113110
}
114111

115112
if (!configurationLoader.claimForwarding()) {
116-
log.debug("The claimstore is not available so no claim forwarding from claimstore will be performed. Make sure the ADF module is configured in the Web.Config to enable this option.");
117113
return client;
118114
}
119115

120116
if (claimStore == null) {
121-
log.debug("The claimstore is not available so no claim forwarding from claimstore will be performed. Make sure the ADF module is configured in the Web.Config to enable this option.");
122117
return client;
123118
}
124119

dxa-framework/dxa-tridion-provider/src/main/java/com/sdl/webapp/tridion/contextengine/AdfContextClaimsProvider.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ protected Map<URI, Object> getCurrentClaims() {
6969
ClaimStore currentClaimStore = AmbientDataContext.getCurrentClaimStore();
7070
if (currentClaimStore == null)
7171
{
72-
log.warn("Claimstore is not available. Check the AmbientFrameworkModule is configured in Web.Config");
7372
return Collections.emptyMap();
7473
}
7574
return currentClaimStore.getAll();

0 commit comments

Comments
 (0)