You'd have to use SocketReceiver on the log4j side, there is no XMLSocketAppender for log4j (just SocketAppender).
I wouldn't do it. I'd log to separate files. Your app can block. See: http://marc.theaimsgroup.com/?l=log4j-user&m=101128939812371&w=2 -----Original Message----- From: Anant K [mailto:[EMAIL PROTECTED] Sent: Thu 12/8/2005 7:22 PM To: Log4J Users List Subject: Re: log4j 1.3 Status How would it cause the app to block? Basically, what I am trying to do is run multiple applications simultaneously, written in both java and perl, and have them all log to one source. I cannot use a file because of contention, and I cannot use a database due to various unrelated issues. What I was thinking about doing is running an XMLSocketReceiver and have both the java programs and perl programs (using log4perl) log to the server using an SocketAppender with an XMLLayout. Is this possible, or is there a better way to do this? Thanks. On 12/8/05, Scott Deboy <[EMAIL PROTECTED]> wrote: > I wouldn't use socket based appenders then...write logs to a file or db, bur > socket appenders could cause your app to block. > > > -----Original Message----- > From: Anant K [mailto:[EMAIL PROTECTED] > Sent: Thu 12/8/2005 5:48 PM > To: Log4J Users List > Subject: Re: log4j 1.3 Status > > I know it is available in Chainsaw, but I need to use this in an > enterprise server environment - where no one has a GUI running, but > must look at the log files afterwards. > > On 12/8/05, Scott Deboy <[EMAIL PROTECTED]> wrote: > > XMLSocketReceiver has been available as a part of the Chainsaw V2 Web Start > > release for a long time (at least a year). > > > > For those who don't know, it gives folks using log4perl, log4cxx, log4php > > and jdk1.4 util.logging a way to see their events in Chainsaw V2. > > > > I haven't heard any bug reports (of course, maybe no one's using it). > > > > Scott > > > > -----Original Message----- > > From: Anant K [mailto:[EMAIL PROTECTED] > > Sent: Wed 12/7/2005 8:31 PM > > To: [email protected] > > Subject: log4j 1.3 Status > > > > Hello, > > > > I was just wondering what the status was on log4j 1.3. I looked on the > > website, and it seems to be a bit out of date. The reason I ask is > > that I need to use the XMLSocketReceiver feature on a project, but > > there are reservations on my team at the fact that that is only > > available on the alpha version of log4j. > > > > Thanks. > > > > -A > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
