logger.debug("result: " + list);
where list is a Object[], results in an unreadable
result: [[Ljava.lang.Object;@5a49e6]
The trick is to use:
logger.debug("result: " + ArrayUtils.toString(list));
where ArrayUtils is a class of the (already mentioned before) Jakarta commons-lang library.

No comments:
Post a Comment