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