title: aSmack Android documentation and debugging
body: <p>ASmack library refers to the documentation at <a href="http://www.igniterealtime.org/builds/smack/docs/latest/documentation/index.html">http://www.igniterealtime.org/builds/smack/docs/latest/documentation/index.html</a>
  which I think it is outdated and does not provide accurate info. Examples are the following:
  - Debugging: </p>
  
  <pre><code>        XMPPConnection.DEBUG_ENABLED = true;
  </code></pre>
  
  <p>-- even in the latest Readme file, it is not working:</p>
  
  <pre><code>XMPPConnection.DEBUG
  </code></pre>
  
  <p>this is not working.
  - Also,  ChatManager: 1st (in docs) is not working, 2nd after googling...</p>
  
  <pre><code> ChatManager chatmanager = connection.getChatManager();
  
   ChatManager chatmanager = ChatManager.getInstanceFor(connection);
  </code></pre>
  
  <p>So how I can enable verbose debugging as this what I get in the log cat using the basic sample in the documentation:</p>
  
  <pre><code>05-26 11:15:11.237    4633-4633/com.ex.myapplication4.app W/System.err﹕ org.jivesoftware.smack.SmackException$ConnectionException
  05-26 11:15:11.237    4633-4633/com.ex.myapplication4.app W/System.err﹕ at org.jivesoftware.smack.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPConnection.java:455)
  05-26 11:15:11.237    4633-4633/com.ex.myapplication4.app W/System.err﹕ at org.jivesoftware.smack.XMPPTCPConnection.connect(XMPPTCPConnection.java:865)
  </code></pre>
  
  <p>And where I can find a reliable documentation or tutorial that works with the latest version (a)Smack 4.0.0-rc2 ?</p>