mod_log_chat published
Posted by Jérôme Sautret on November 28, 2006mod_log_chat, a new module for ejabberd, has just been released.
It is aimed at logging chat messages in text files, in plain text or HTML format. It creates one file for each discussion each day.
It has been added in our ejabberd modules repository that can be retrieve with the following command :
svn co https://svn.process-one.net/ejabberd-modules
The files can be browsed on our forge (https://forge.process-one.net/browse/ejabberd-modules/mod_log_chat/trunk).
Categories: Jabber / XMPP
Comments
Hello,
I was looking for an ejabberd module capable of logging communication as I am planning to use jabber in our company. We would like to abandon e-mail in intra-company communication and use IM instead.
But I have a problem: I could only install ejabberd on Win 2003 Server and I am not able to compile the module. Don’t you guys have already compiled mod_log_chat.beam for Win32 platform? The erlang compiler behaves weird on Windows.
Hello,
Yes, we have such a version.
Please, contact me privately (mremond@ourdomain) and I will send you a compiled version.
Hello,
I am also having difficulty with the compiler on the Win32 platforms. I am running Ejabberd on Win2000 Pro. I would like to use mod_log_chat but I am unable to compile the source. If I could get a pre compiled version, I would be very grateful.
Hi Mickaël,
May I have the compiled mod_log_chat.beam for Windows 2003?
Regards,
Andy
Posted by Andy Chau on 05 Jun 2007 at 08:19Hi Mickaël,
I have successfully compiled the mod_log_chat and got the mod_log_chat.beam file. I have put this file to the ebin directory of ejabberd-1.1.3 but I could not turn on this module. Could you please help me to resolve this issue?
Andy
Posted by Andy Chau on 05 Jun 2007 at 11:32Hello Andy,
You have declare it in the module section of your config file.
For example, to log chat messages for all vhosts in current directory in text format, you can add the following in your modules section in ejabberd.cfg:
{mod_log_chat, []}
The README.txt file describe the steps. See README.txt
This README file points to more configuration example in conf/ejabberd.cfg.sample
I hope this helps,
Posted by Mickaël Rémond on 05 Jun 2007 at 12:17Hi Mickaël,
May I have the compiled mod_log_chat.beam for Windows 2003 too?
thanks a lot, Romain
Posted by jcdus on 05 Jun 2007 at 23:17Hi Mickaël,
Thanks for your reply, I finally make it work.
Andy
Posted by Andy Chau on 06 Jun 2007 at 03:57Hi Romain,
I can give my compiled mod_log_chat.beam file to you. Please give your email address to me.
Andy
Posted by Andy Chau on 06 Jun 2007 at 04:00Hi Andy,
My adress :
Thanks
Posted by Romain on 06 Jun 2007 at 10:14Hi Romain,
I have sent the file to you.
Andy
Posted by Andy Chau on 07 Jun 2007 at 02:57Thanks, but it don’t work on my server…
I don’t understand why…
I try again…
It works for many sites, so there must be an usage problem.
Please, could you be more explicit when posting a “problem” report ?
Otherwise, nobody can help you.
If you do not need it now, you could also wait for addition in the standard ejabberd package.
It is very likely a configuration problem, but I cannot tell more from your comment.
Hi Mickael
Thanks for your reply.
Can you give me your private email ?
I will send you my error report.
Thanks
Hello
Where i put the file mod_log_chat.beam ?
I have a error who says :
=ERROR REPORT==== 13-Jun-2007::18:31:17 ===
beam/beam_load.c(1097): Error loading module mod_log_chat:
use of opcode 125; this emulator supports only up to 115
=ERROR REPORT==== 13-Jun-2007::18:31:17 ===
Loading of c:/Program Files/ejabberd-1.1.2/bin/mod_log_chat.beam failed: badfile
=ERROR REPORT==== 13-Jun-2007::18:31:17 ===
E(<0.40.0>:gen_mod:47): {undef,[{mod_log_chat,
start,
["psi.mydomain.com",[{format,html}]]},
{gen_mod,start_module,3},
{lists,foreach,2},
{ejabberd_app,start,2},
{application_master,start_it_old,4}]}
Can you help me please ?
Posted by Romain on 13 Jun 2007 at 17:33Hello,
It means that the code you have received from Andy has been compiled with Erlang R11 and that you are using Erlang R10 (thus you cannot load the file).
Please, be aware that this code was release for developers. It will be properly integrated in archive for future version (and thus easy to use).
I do not want to let people be under the impression that you are talking about stable code / release.
I have send you the compiled code by mail, but you have been warned. Put it where you other beam files are.
Posted by Mickaël Rémond on 13 Jun 2007 at 17:40Any chance you will email me that mod_log_chat.beam filr too? I have erl5.5.5 running the current version of ejabberd but I cant seem to get the thing to compile in win xp.
Thanks,
Jon
you might need my email addy for that request huh . .
Thanks,
Jon
Please, send me pre-compiled mod_log_chat for windows server 2003 to
Thank you!
Running on Gentoo Linux
EJabber 1.1.4
Again and again module crashed with
=ERROR REPORT==== 2007-12-06 17:06:48 ===
E(<0.38.0>:gen_mod:47): {undef,
[{ejabberd_logger,
debug_msg,
[mod_log_chat,
31,
“ ~p ~p~n”,
["taber.ru",
[{path,"/var/log/jabber/chat"},
{format,html}]]]},
{mod_log_chat,start,2},
{gen_mod,start_module,3},
{lists,foreach,2},
{ejabberd_app,start,2},
{application_master,start_it_old,4}]}
Please, any ideas? Very need for this module at this installation…
Posted by olegon on 06 Dec 2007 at 15:09Add comment
Search our blogs
To make it easier for you to find blogs on topics that you are interested in, we have grouped them into categories depending on the different themes addressed in each blog. Categories include:
Process-one
Jabber / XMPP
ejabberd
Erlang
Tsung
French
Employment opportunities
IMtrends
All categories
Become a ProcessOne partner
Find out about the benefits of joining ProcessOne’s partnership programme.
Click here
Our products and services
We offer packaged solutions comprising all of the server-side and client-side technology necessary to create valuable new instant messaging applications. In addition, we offer a range of services for delivering customised solutions.
Click here for full details