From: Miguelon cosapi data Date: 2006-11-29T03:10:06+09:00 Subject: Re: Login IP remote in the logs Log4J Hello Paul The application is "Critical Path" and is a Mail server in the Linux with Webmail, calendar, etc. this is based on a called file "log-conf.xml" that this in the format "Log4j" the information that registers to me is the following: 2006-11-16 11:36:53,851 - sid[1163694663376] thread[http-443-Processor86] dir[0/0, 0, 0, 0] time[62] url[/cp/ps/Mail/ViewMsgController?d=congreso.gob.pe&u=fondoeditorial&an=DefaultMailAccount&t=d104d&l=es&fp=INBOX&uid=98] 2006-11-16 11:37:11,283 - sid[1163694663376] thread[http-443-Processor13] dir[0/0, 0, 0, 0] time[157] url[/cp/ps/Mail/ViewMsgController?d=congreso.gob.pe&bid=null_0&u=fondoeditorial&t=d104d&l=es&siz=38278] 2006-11-16 11:37:27,892 - sid[1163695047890] thread[http-443-Processor85] dir[0/0, 0, 0, 0] time[4] url[/cp/ps/Main/login/Login?d=congreso.gob.pe&l=es] 2006-11-16 11:37:34,478 - sid[1163695047890] thread[http-443-Processor13] dir[1/5, 0, 1, 0] time[4] url[/cp/ps/Main/layout/MetaFrameset?d=congreso.gob.pe&u=emendez&t=d10d5&l=es] what I need is that additional to that information IP address of the client is added who connects itself to the server. the configuration of "log-conf.xml" is the following: The file for login acces is: WEB-INF/log-files/access.log thanks. Paul Lutus ha escrito: > Miguelon cosapi data wrote: > > > Hello friends, I hope can help me with the following thing: I have an > > application that uses the "Log4J", which I want to know is that > > line I must add so that also it registers the IP address of the clients > > who accede to this aplicaion. At the moment this recording date and URL > > but I need remote IP address. > > The answer depends on information not provided. What kind of application is > it? What does it do? > > -- > Paul Lutus > http://www.arachnoid.com