Chapter 3. Protocol

Table of Contents

Appending entries to log
Retrieval of entries

For communication between processor detecting events and component responsible for logging events special extension of XMPP protocol is used with namespace which will be passed added as xmlns attribute to action elements of stanza requests. All stanzas will be iq stanzas.


Entry is an xml element which contains other elements as properties with values. It is basic element logged by component to audit log.


In above example we have passed:

property which contains timestamp of this even,
containing source jid of stanza which triggered event,
containing destination jid of stanza which triggered event.