title: How to view the XML documents sent to Solr
body: <p>We're having problems with UTF-8 in Solr, and need to debug the documents that are sent for indexing. Can we do this somehow?</p>
  
  <p>Searched all logs I've found, enabled <code>debug="1"</code> in the app XML in the tomcat6 / Catalina directory. Even tried Wireshark, but no dice. Please please!</p>
  
  <p>Everything looks good on the PHP side, and this has been working fine until now. But international characters turns into ?, classic headache.</p>