How to log JSON deserialization in Jackson
Apache Commons IOUtils
will convert your input stream to a String, which you can then pass to log4j.
String theString = IOUtils.toString(inputStream, encoding);
Apache Commons IOUtils
will convert your input stream to a String, which you can then pass to log4j.
String theString = IOUtils.toString(inputStream, encoding);