Hello.
This is my first post, so greetings to the community.
I have ejabberd version 1.1.4-4 in one Ubuntu server for my company internal chat.
I want to store ALL the chat conversations in one file or logs (yes, yes, i know it does not sound very ethical but I am afraid that is not being used for their original purpose).
It is a very simple, basic and logical feature that i suppose ejabberd developers have thought about it...but i don't find information about hot to do that.
Hoe can i do this?.
Thank you in advance for your help.
Take a look at mod_log_chat
Take a look atmod_log_chat or mod_logxml .
Thank you badlop. I have
Thank you badlop.
I have installed mod_logxml.
As the README say, i have put this example configuration in my ejabberd.cfg:
{mod_logxml, [
{stanza, [message, other]},
{direction, [internal]},
{orientation, [send, recv]},
{logdir, "/var/log/ejabberd/conversations/"},
{timezone, local},
{rotate_days, no},
{rotate_megs, no},
{rotate_kpackets, no},
{check_rotate_kpackets, 1}
]},
Now when i try to see the xml in my browser i can not see the conversations.
I see this warnings, how if the conversation was encrypted, again and again:
HWyywejTntyHMmHJlwSicKnKayWuqJFLTezYOM63DqFOpVR99EwfzXdt5eQ1BNNLH5se+NEI8uWq4BAbdLEFttojGYZ7D0awZyUYXAw9B4jw8YTwf5WTuQ==0xXnN+EXm+GwDzEWAvLrKIRqcedY5Fmc0xkseUaiQfY=([This is part of an encrypted session. If you see this message, something went wrong.])
HWyywejTntyHMmHJlwSicKnKayWuqJFLPvuIPgOg+vDQ9jtNW5dlb5x3R9/GXURLK+uL7Nc031cpc1h20WW1eAOXYuy3pcAQlLywhVPvaBaa1aDIxA8h0A==xL8jFxC3ebPkCvbrKhMileEn6tOb++sn5IdK/0Q5SRU=([This is part of an encrypted session. If you see this message, something went wrong.])
How can i avoid this and being able to see properly the conversation?.
Thank you very much.
PD: The clients are gajim in windows and linux machines.
If the clients used some type
If the clients used some type of encryption for their conversation (maybe PGP or Esessions), you can ask the CIA to break the encryption. Or tell your users to not encrypt.