Cleanup logging output.
This commit is contained in:
parent
8cdc7d02b7
commit
5bd0f5e2e9
@ -337,9 +337,8 @@ public class HTTPUtils {
|
|||||||
response = IOUtils.toString(is);
|
response = IOUtils.toString(is);
|
||||||
IOUtils.closeQuietly(is);
|
IOUtils.closeQuietly(is);
|
||||||
if (response.trim().equals("")) {
|
if (response.trim().equals("")) {
|
||||||
if (LOGGER.isDebugEnabled())
|
if (LOGGER.isTraceEnabled())
|
||||||
LOGGER
|
LOGGER.trace("ResponseBody is empty (this may be not an error since we just performed a DELETE call)");
|
||||||
.debug("ResponseBody is empty (this may be not an error since we just performed a DELETE call)");
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (LOGGER.isDebugEnabled())
|
if (LOGGER.isDebugEnabled())
|
||||||
|
|||||||
@ -100,8 +100,8 @@ public abstract class ElementUtils {
|
|||||||
final List<Element> ret = new ArrayList<Element>();
|
final List<Element> ret = new ArrayList<Element>();
|
||||||
// if match add myself
|
// if match add myself
|
||||||
if (filter.matches(root)) {
|
if (filter.matches(root)) {
|
||||||
if (LOGGER.isDebugEnabled())
|
if (LOGGER.isTraceEnabled())
|
||||||
LOGGER.debug("LOCATED-> name:" + root.getName() + " text:"
|
LOGGER.trace("LOCATED-> name:" + root.getName() + " text:"
|
||||||
+ root.getText());
|
+ root.getText());
|
||||||
ret.add(root);
|
ret.add(root);
|
||||||
}
|
}
|
||||||
@ -128,8 +128,8 @@ public abstract class ElementUtils {
|
|||||||
final List<Element> ret = new ArrayList<Element>();
|
final List<Element> ret = new ArrayList<Element>();
|
||||||
// if match add myself
|
// if match add myself
|
||||||
if (filter.matches(root)) {
|
if (filter.matches(root)) {
|
||||||
if (LOGGER.isDebugEnabled())
|
if (LOGGER.isTraceEnabled())
|
||||||
LOGGER.debug("LOCATED-> name:" + root.getName() + " text:"
|
LOGGER.trace("LOCATED-> name:" + root.getName() + " text:"
|
||||||
+ root.getText());
|
+ root.getText());
|
||||||
ret.add(root);
|
ret.add(root);
|
||||||
}
|
}
|
||||||
@ -140,8 +140,8 @@ public abstract class ElementUtils {
|
|||||||
if (obj instanceof Element) {
|
if (obj instanceof Element) {
|
||||||
Element el = (Element) obj;
|
Element el = (Element) obj;
|
||||||
|
|
||||||
if (LOGGER.isDebugEnabled())
|
if (LOGGER.isTraceEnabled())
|
||||||
LOGGER.debug("LOCATED-> name:" + el.getName() + " text:"
|
LOGGER.trace("LOCATED-> name:" + el.getName() + " text:"
|
||||||
+ el.getText());
|
+ el.getText());
|
||||||
|
|
||||||
ret.add(el);
|
ret.add(el);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user