XMPP_DEBUG condition moved to log() method