Re: multiple JVMs writing to the same file

2007-07-31 Thread Josh Drummond
failover may be an issue here too. - Original Message From: "Zakaria, Faheem" <[EMAIL PROTECTED]> To: Log4J Users List Sent: Tuesday, July 31, 2007 6:11:39 AM Subject: RE: multiple JVMs writing to the same file Hi Thomas, There are two choices to your situation. 1.

RE: multiple JVMs writing to the same file

2007-07-31 Thread Zakaria, Faheem
:[EMAIL PROTECTED] Sent: Tuesday, July 31, 2007 8:30 AM To: Log4J Users List Subject: Re: multiple JVMs writing to the same file Thanks for the answer, The socket appender is a good option, but i read this article http://www.jroller.com/oburn/date/200601 and was concerned about possible problems

Re: multiple JVMs writing to the same file

2007-07-31 Thread Thomas michelbach
Thanks for the answer, The socket appender is a good option, but i read this article http://www.jroller.com/oburn/date/200601 and was concerned about possible problems (deadlocks). the first problem would arise if thd JVM receiving the logs goes down or even goes into a deadlock. I need a way to

Re: multiple JVMs writing to the same file

2007-07-31 Thread James Stauffer
You can have each JVM send the events to a single separate JVM with SocketAppenders. That single separate JVM would receive events from all of the other JVMs and write them to a file. On 7/31/07, Thomas michelbach <[EMAIL PROTECTED]> wrote: > Hello, > > I'm using log4j in an environment with mult