struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cnenn...@apache.org
Subject [05/10] struts git commit: small updates to logging
Date Fri, 12 Jun 2015 08:53:35 GMT
small updates to logging

Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/8128ca6b
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/8128ca6b
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/8128ca6b

Branch: refs/heads/master
Commit: 8128ca6b603457bbebf646baaafb80d0d98ec40a
Parents: adf7133
Author: cnenning <cnenning@apache.org>
Authored: Fri Jun 12 10:28:44 2015 +0200
Committer: cnenning <cnenning@apache.org>
Committed: Fri Jun 12 10:28:44 2015 +0200

----------------------------------------------------------------------
 .../validation/interceptor/DefaultBeanValidationManager.java   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts/blob/8128ca6b/plugins/bean-validation/src/main/java/org/apache/struts/beanvalidation/validation/interceptor/DefaultBeanValidationManager.java
----------------------------------------------------------------------
diff --git a/plugins/bean-validation/src/main/java/org/apache/struts/beanvalidation/validation/interceptor/DefaultBeanValidationManager.java
b/plugins/bean-validation/src/main/java/org/apache/struts/beanvalidation/validation/interceptor/DefaultBeanValidationManager.java
index 09676c1..b502c33 100644
--- a/plugins/bean-validation/src/main/java/org/apache/struts/beanvalidation/validation/interceptor/DefaultBeanValidationManager.java
+++ b/plugins/bean-validation/src/main/java/org/apache/struts/beanvalidation/validation/interceptor/DefaultBeanValidationManager.java
@@ -64,7 +64,7 @@ public class DefaultBeanValidationManager
                 @Inject(value = ValidatorConstants.PROVIDER_CLASS, required = false) String
providerClassName,
                 @Inject(value = ValidatorConstants.IGNORE_XMLCONFIGURAITION, required = false)String
ignoreXMLConfiguration) {
         super();
-        LOG.info("Initializing bean validation11 factory to get a validator");
+        LOG.info("Initializing bean validation factory to get a validator");
 
         if (StringUtils.isNotBlank(providerClassName)) {
             try {
@@ -78,7 +78,7 @@ public class DefaultBeanValidationManager
 
         }
         if (this.providerClass == null) {
-            LOG.info("********** No bean validator class defined - Falling back to default
provider **********");
+            LOG.warn("********** No bean validator class defined - Falling back to default
provider **********");
         }
 
         Configuration<? extends Configuration<?>> configuration =
@@ -87,7 +87,7 @@ public class DefaultBeanValidationManager
                     : Validation.byDefaultProvider().configure();
         if (BooleanUtils.toBoolean(ignoreXMLConfiguration)) {
             configuration.ignoreXmlConfiguration();
-            LOG.info("XML configurations will be ignore by Validator, to enable XML based
validation, set struts.beanValidation.ignoreXMLConfiguration to false.");
+            LOG.info("XML configurations will be ignored by Validator, to enable XML based
validation, set struts.beanValidation.ignoreXMLConfiguration to false.");
         }
         if (configuration != null) {
             this.validationFactory = configuration.buildValidatorFactory();


Mime
View raw message