Re: Creating separate log for each request

2012-06-20 Thread Lahiru Gunathilake
are very important. Lahiru On Wed, Jun 20, 2012 at 5:35 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Lahiru Gunathilake [mailto:glah...@gmail.com] > > Subject: Creating separate log for each request > > > I am using slf4j for my logging and ev

Re: Creating separate log for each request

2012-06-20 Thread Lahiru Gunathilake
handle that ? > > Jeff > > > On Wed, Jun 20, 2012 at 10:38 PM, Lahiru Gunathilake >wrote: > > > Hi All, > > > > I have my webapp deployed on tomcat. I am using slf4j for my logging and > > everything works fine and all the logs comes to catalina.out. But I have

Creating separate log for each request

2012-06-20 Thread Lahiru Gunathilake
Hi All, I have my webapp deployed on tomcat. I am using slf4j for my logging and everything works fine and all the logs comes to catalina.out. But I have a requirement of creating a separate log for each request comes to my webapp... I only have single webapp, so I simply want to create a separate

Re: How to get Tomcat HTTP port during startup of the server

2011-10-07 Thread Lahiru Gunathilake
Hi On Fri, Oct 7, 2011 at 2:20 AM, Pid * wrote: > On 6 Oct 2011, at 19:22, Lahiru Gunathilake wrote: > > > Hi Charles, > > > > This is my usecase, I want to register my application URL to a repository > > and there is another remote application who reads that U

Re: How to get Tomcat HTTP port during startup of the server

2011-10-06 Thread Lahiru Gunathilake
Thu, Oct 6, 2011 at 2:57 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Lahiru, > > On 10/6/2011 2:21 PM, Lahiru Gunathilake wrote: > > This is my usecase, I want to register my application URL to

Re: How to get Tomcat HTTP port during startup of the server

2011-10-06 Thread Lahiru Gunathilake
, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Lahiru Gunathilake [mailto:glah...@gmail.com] > > Subject: How to get Tomcat HTTP port during startup of the server > > > I have a requirement of getting the Tomcat HTTP port during > > startup o

How to get Tomcat HTTP port during startup of the server

2011-10-06 Thread Lahiru Gunathilake
Hi all, I have a requirement of getting the Tomcat HTTP port during startup of my application. I have the ServletContext object in me during startup, before getting any HttpRequest I need to talk tomcat HTTP port. I write a reflection code to access that even it doesn't work always I don't know wh