在服务器上阅读历史记录Ejabberd(Mnesia)

发布于 2025-02-11 08:14:33 字数 67 浏览 0 评论 0 原文

下午好。服务器Ejabberd将历史记录到标准数据库MNESIA。管理员如何查看这个故事?在任何地方都没有找到任何信息。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

娇纵 2025-02-18 08:14:33

如果您的意思是 Archive_msg MNESIA表由实施
xep-0313:消息档案管理,答案是:要获得他们的聊天历史记录,而不是为了监视用户的管理员。

不过,您可以在Ejabberd的Webadmin->中查看Mnesia表内容。节点 - >您的节点 - >数据库 - > Archive_msg表 - > 顺便说一句

,如果您打算多年来使用MAM和许多用户使用MAM,那么您应该使用SQL数据库而不是MNESIA,因为Mnesia仅用于存储一些数据。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文