Concurrent Logging: How?
From: Ravi Shankar (sujashankar_at_pacific.net.sg)
Date: 10/10/04
- Previous message: Raymond DeCampo: "Re: Java GUI panel size and resizing issues..."
- Next in thread: Daniel Parker: "Re: Concurrent Logging: How?"
- Reply: Daniel Parker: "Re: Concurrent Logging: How?"
- Reply: Calum Grant: "Re: Concurrent Logging: How?"
- Reply: Ravi Shankar: "Re: Concurrent Logging: How?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 10 Oct 2004 08:44:43 +0800
Hi all,
I have an enterprise application. I am using Apache Log4J for the logging
purposes. WHen a request is received by the application, it goes throug
servlets and many classes, and the necessary details are logged to files,
which has autorate option. I mean when certain file exceeds the size,
automatically another file is generated for a maximum of 10 files and then
again starts from the first.
So far is so good. Now assume that say 100 users are concurrently making a
request. Since servlets are mutithreaded, the logs generated does not show
each request sequentially. All the logs of all the requests are mixed
together making it difficult and highly spagettic to read and understand.
How can I make the logging strategy such that each user request is written
in a sequential manner so that there are no overlaps of the logs? Please
advise, thanks
Best regards,
Ravi
- Previous message: Raymond DeCampo: "Re: Java GUI panel size and resizing issues..."
- Next in thread: Daniel Parker: "Re: Concurrent Logging: How?"
- Reply: Daniel Parker: "Re: Concurrent Logging: How?"
- Reply: Calum Grant: "Re: Concurrent Logging: How?"
- Reply: Ravi Shankar: "Re: Concurrent Logging: How?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|