In addition to enabling Openfire to keep logs of all conversations, the Monitoring Service plugin (previously bundled as part of Openfire Enterprise edition, now installable from within the Plugins tab) offers some additional archiving options as well. The settings we just looked at creates raw XML logs of the conversation. However, if you are using the Monitoring Service plugin, you can archive the conversation with context, which makes it easier to trace, retrieve, and present, if the need arises.
Using the Monitoring Service plugin's archiving settings, you can:
Log and retrieve individual one-to-one conversations
Know at a glance how long each conversation lasted
Know the number of messages exchanged in the conversation
Archive particular rooms or all group chats
Limit the duration of conversations
To set these parameters, head over to Server | Archiving | Archive Settings. Use the Message and Metadata Settings form and enable Conversation State Archiving if you...