Use log correctly in XMPPCallbackHandler