title: Get better logging on Jackson parsing error
body: <p>I am working on a REST application built with Jackson-2.2.3.</p>
  
  <p>Here is the Dependency:</p>
  
  <pre><code>&lt;dependency&gt;
    &lt;groupId&gt;com.fasterxml.jackson.jaxrs&lt;/groupId&gt;
    &lt;artifactId&gt;jackson-jaxrs-json-provider&lt;/artifactId&gt;
    &lt;version&gt;2.2.3&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>I have a simple endpoint to create a User as below:</p>
  
  <pre><code>@POST
  @Path(value = "/addUser")
  @Produces(MediaType.APPLICATION_JSON)
  @Consumes(MediaType.APPLICATION_JSON)
  public Response createUser(User user) {
      ...
  }
  </code></pre>
  
  <p>As this endpoint consumes JSON, when api users send JSON Jackson will desearilize  to <code>User</code> object.</p>
  
  <p>If user invoke the endpoint with faulty JSON like, missing a property or bad structure. I want to log the fault JSON as a string and ERROR. 
  How can I achieve that?</p>
  
  <p>I tried using Filters but didn't work.</p>