You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Wendy Smoak <ws...@gmail.com> on 2006/07/14 01:22:30 UTC

Verbose logging from Validator?

At some point in the past, my log files would include nicely indented
information on all of my validation rules.  I can't seem to get that
to happen anymore with Struts 1.3.5-SNAPSHOT and Validator 1.3.0.

log4j.properties has:
log4j.category.org.apache.commons.validator=DEBUG, daily
log4j.category.org.apache.struts.validator=DEBUG,daily

All I get in the log is:
16:03:20,481 - INFO org.apache.struts.validator.ValidatorPlugIn -
Loading validation rules file from
'/org/apache/struts/validator/validator-rules.xml'
16:03:20,481 - INFO org.apache.struts.validator.ValidatorPlugIn -
Loading validation rules file from '/WEB-INF/validation.xml'

And I see it loading the <validator>s, for example:
16:03:20,559 - DEBUG org.apache.commons.validator.ValidatorResources -
Add ValidatorAction: required,org.apache.struts.validator.FieldChecks

... but nothing at all about the <formset> from validation.xml.

Any ideas?

Thanks,
-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org