Reading history on the server ejabberd (mnesia)

105 views Asked by At

Good afternoon. The server ejabberd writes history to the standard database Mnesia. How can an administrator view this story? Didn't find any information anywhere.

1

There are 1 answers

2
Badlop On

If you mean the archive_msg mnesia table used by mod_mam to implement XEP-0313: Message Archive Management, then the answer is: this is for XMPP clients to get their chat history, not for admins for spying their users.

Still, you can view the mnesia table content in ejabberd's WebAdmin -> Nodes -> your node -> Database -> archive_msg table -> Elements

By the way, if you plan to use MAM, over the years, with many users, then you should use a SQL database instead of Mnesia, because Mnesia is only intended for storing a few data.