xmpp notification and using xmpp as logger.