Commits

mrdon  committed 6fc5daf

Making XWork not so noisy when config files (that aren't required) are not found

git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@1127e221344d-f017-0410-9bd5-d282ab1896d7

  • Participants
  • Parent commits d692ce3

Comments (0)

Files changed (1)

File src/java/com/opensymphony/xwork2/config/providers/XmlConfigurationProvider.java

                 if (errorIfMissing) {
                     throw new ConfigurationException("Could not open files of the name " + fileName, ioException);
                 } else {
-                    LOG.info("Unable to locate configuration files of the name "
+                    if (LOG.isDebugEnabled()) {
+                        LOG.debug("Unable to locate configuration files of the name "
                             +fileName+", skipping");
+                    }
                     return;
                 }
             }