[java-identity-provider COMMIT] /trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/audit/impl/PopulateA...
noreply at shibboleth.net
noreply at shibboleth.net
Mon Nov 2 15:37:16 EST 2015
Author: scantor
Date: Mon Nov 2 15:37:15 2015
New Revision: 7917
URL: http://svn.shibboleth.net/view/java-identity-provider?rev=7917&view=rev
Log:
Lower log noise for audit field extraction.
Modified:
trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/audit/impl/PopulateAuditContext.java
Modified: trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/audit/impl/PopulateAuditContext.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/audit/impl/PopulateAuditContext.java?rev=7917&r1=7916&r2=7917&view=diff
==============================================================================
--- trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/audit/impl/PopulateAuditContext.java (original)
+++ trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/audit/impl/PopulateAuditContext.java Mon Nov 2 15:37:15 2015
@@ -195,7 +195,7 @@
for (final Map.Entry<String,Function<ProfileRequestContext,Object>> entry : fieldExtractors.entrySet()) {
if (!fieldsToExtract.isEmpty() && !fieldsToExtract.contains(entry.getKey())) {
- log.debug("{} Skipping field '{}' not included in audit format", getLogPrefix(), entry.getKey());
+ log.trace("{} Skipping field '{}' not included in audit format", getLogPrefix(), entry.getKey());
continue;
}
@@ -203,7 +203,7 @@
if (values != null) {
if (values instanceof Collection) {
if (!((Collection) values).isEmpty()) {
- log.debug("{} Adding {} value(s) for field '{}'", getLogPrefix(), ((Collection) values).size(),
+ log.trace("{} Adding {} value(s) for field '{}'", getLogPrefix(), ((Collection) values).size(),
entry.getKey());
for (final Object value : (Collection) values) {
if (value != null) {
@@ -217,7 +217,7 @@
}
}
} else {
- log.debug("{} Adding 1 value for field '{}'", getLogPrefix(), entry.getKey());
+ log.trace("{} Adding 1 value for field '{}'", getLogPrefix(), entry.getKey());
if (values instanceof DateTime) {
auditCtx.getFieldValues(entry.getKey()).add(((DateTime) values).toString(dateTimeFormat));
} else {
More information about the commits
mailing list