- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 17 Aug 2009 09:10:26 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/util In directory hutz:/tmp/cvs-serv15762/src/org/w3c/unicorn/util Modified Files: Tag: dev2 UCNProperties.java Log Message: changed logging behavior Index: UCNProperties.java =================================================================== RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/util/Attic/UCNProperties.java,v retrieving revision 1.1.2.4 retrieving revision 1.1.2.5 diff -u -d -r1.1.2.4 -r1.1.2.5 --- UCNProperties.java 12 Aug 2009 13:15:20 -0000 1.1.2.4 +++ UCNProperties.java 17 Aug 2009 09:10:24 -0000 1.1.2.5 @@ -23,15 +23,14 @@ public void parse() { for(Object key : this.keySet()) { - logger.debug("-----------------------------------------------------------------------------"); - logger.debug("Parsing Property : \"" + key + "\" => \"" + this.getProperty((String) key)); + logger.trace("Parsing Property : \"" + key + "\" => \"" + this.getProperty((String) key)); Matcher matcher = pattern.matcher(this.getProperty((String) key)); if (matcher.find()) { matcher.reset(); while (matcher.find()) { String match = matcher.group(); - logger.debug("> Pattern matched with: \"" + match + "\""); + logger.trace("> Pattern matched with: \"" + match + "\""); String foundKey = (String) match.subSequence(2, match.length()-1); @@ -39,7 +38,7 @@ logger.warn("> String \"" + foundKey + "\" is not an existing property."); } else { String foundProp = this.getProperty(foundKey); - logger.debug("> Found coresponding property: \"" + foundKey + "\" => \"" + foundProp +"\""); + logger.trace("> Found coresponding property: \"" + foundKey + "\" => \"" + foundProp +"\""); String subst = this.getProperty((String) key); subst = subst.replace(match, foundProp); @@ -47,9 +46,9 @@ matcher = pattern.matcher(this.getProperty((String) key)); } } - logger.debug("> Parsed property: \"" + key + "\" => \"" + this.getProperty((String) key) + "\""); + logger.trace("> Parsed property: \"" + key + "\" => \"" + this.getProperty((String) key) + "\""); } else { - logger.debug("> No nested property found"); + logger.trace("> No nested property found"); } } } @@ -58,7 +57,7 @@ public String toString() { String result = ""; for(Object key : this.keySet()) { - result += "\n"+key+"\t=>\t"+this.getProperty((String) key); + result += "\n\t"+key+"\t=>\t"+this.getProperty((String) key); } return result; }
Received on Monday, 17 August 2009 09:19:09 UTC