tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lahiru Gunathilake <glah...@gmail.com>
Subject Re: Creating separate log for each request
Date Wed, 20 Jun 2012 21:35:07 GMT
Hi Jeff,

Thanks for the response, actually my requirement is to make the life easier
for the admin, and if something goes wrong he has an ID of the request
which failed (This is not a system which is getting millions of http
requests) and then he should be able to figure out the logs for that
request based on the ID he has.

If you have a solution for that, kindly let me know, I am happy to use it..

Regards
Lahiru

On Wed, Jun 20, 2012 at 5:12 PM, Jeff MAURY <jeffmaury@jeffmaury.com> wrote:

> Are you sure of that, a single file for a single HTTP request. I don't know
> a file system capable to handle that ?
>
> Jeff
>
>
> On Wed, Jun 20, 2012 at 10:38 PM, Lahiru Gunathilake <glahiru@gmail.com
> >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
> 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
> > log for each http request come to my tomcat instance.
> >
> > Anybody knows how to do this in tomcat configuration ?
> >
> > Regards
> > Lahiru
> >
> > --
> > System Analyst Programmer
> > PTI Lab
> > Indiana University
> >
>
>
>
> --
> Jeff MAURY
>
>
> "Legacy code" often differs from its suggested alternative by actually
> working and scaling.
>  - Bjarne Stroustrup
>
> http://www.jeffmaury.com
> http://riadiscuss.jeffmaury.com
> http://www.twitter.com/jeffmaury
>



-- 
System Analyst Programmer
PTI Lab
Indiana University

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message