Erlang/OTP Forums

Author Message

<  Ejabberd mailing list  ~  log ip

Guest
Posted: Mon Jul 31, 2006 1:30 pm Reply with quote
Guest
Hi,
I have a ejabberd server, and I want log all the ip when a user log in.
But, in the file /ejabberd.log I don't have the ip :
=INFO REPORT==== 2006-07-31 15:26:53 ===
I(<0.2743.0>:ejabberd_c2s:696): (#Port<0.663>) Opened session for
fabien@jabber1.

How Can I have the ips?

Thanks

Fab

_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived from mailinglist
Guest
Posted: Mon Jul 31, 2006 5:03 pm Reply with quote
Guest
2006/7/31, Fabien NCTEL <fabien@nctel.net>:
> I have a ejabberd server, and I want log all the ip when a user log in.
> But, in the file /ejabberd.log I don't have the ip :
> =INFO REPORT==== 2006-07-31 15:26:53 ===
> I(<0.2743.0>:ejabberd_c2s:696): (#Port<0.663>) Opened session for
> fabien@jabber1.
>
> How Can I have the ips?

On my ejabberd.log file there are two lines for every login:

=INFO REPORT==== 2006-07-31 19:00:13 ===
I(<0.261.0>:ejabberd_listener:90): (#Port<0.326>) Accepted connection
{{80,200,100,184},53014} -> {{120,10,10,1},5222}

=INFO REPORT==== 2006-07-31 19:00:13 ===
I(<0.348.0>:ejabberd_c2s:382): (#Port<0.326>) Accepted legacy
authentication for badlop@localhost/test

Maybe you have the messages with IPs on a file called sasl.log


--
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum