RE: Multiple threads that log events to the same file concurrently

2006-10-25 Thread Cohen Oren \(ICS\)
Users List Subject: Re: Multiple threads that log events to the same file concurrently On Oct 24, 2006, at 3:59 AM, Cohen Oren (ICS) wrote: Thanks ! 1) Is there a reason why the buffer of the AsyncAppender is implemented as ArrayList and not LinkedList ? I don't believe there has been any

Re: Multiple threads that log events to the same file concurrently

2006-10-25 Thread Curt Arnold
On Oct 25, 2006, at 2:57 AM, Cohen Oren (ICS) wrote: Thanks again Curt for your quick response. 1) The AsyncAppender buffer is a queue (FIFO), with lots of appending at its beginning, and one Dispatcher that gets the events from the other side. As rewritten in log4j 1.2.14, the dispatch

RE: Multiple threads that log events to the same file concurrently

2006-10-24 Thread Cohen Oren \(ICS\)
(AsyncAppender.java:578) at java.lang.Thread.run(Thread.java:595) -Original Message- From: Curt Arnold [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 24, 2006 1:27 AM To: Log4J Users List Subject: Re: Multiple threads that log events to the same file concurrently On Oct 22, 2006, at 4

Re: Multiple threads that log events to the same file concurrently

2006-10-24 Thread Curt Arnold
On Oct 24, 2006, at 3:59 AM, Cohen Oren (ICS) wrote: Thanks ! 1) Is there a reason why the buffer of the AsyncAppender is implemented as ArrayList and not LinkedList ? I don't believe there has been any performance testing related to the choice of List implementation in this instance.

RE: Multiple threads that log events to the same file concurrently

2006-10-23 Thread Cohen Oren \(ICS\)
? -Original Message- From: Curt Arnold [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 18, 2006 4:10 PM To: Cohen Oren (ICS) Subject: Re: Multiple threads that log events to the same file concurrently On Oct 18, 2006, at 5:49 AM, Cohen Oren (ICS) wrote: Thanks a lot Curt ! I appreciate

Re: Multiple threads that log events to the same file concurrently

2006-10-23 Thread Curt Arnold
On Oct 22, 2006, at 4:49 AM, Cohen Oren (ICS) wrote: Thanks Curt ! Regarding item 3 (below) : I meant that I will not use append for adding a Logging Event to the thread's queue, but rather a regular add() command. Each thread will put its events on its own logging queue by using add()

Re: Multiple threads that log events to the same file concurrently

2006-10-17 Thread James Stauffer
You could try writing logs to a database, JMS, or a Socket. On 10/17/06, Cohen Oren (ICS) [EMAIL PROTECTED] wrote: Hi Short description of the problem: I need the best log4j configuration for - Multiple threads that log events to the same file concurrently I work on a multithreaded