Return-Path: Delivered-To: apmail-logging-log4j-user-archive@www.apache.org Received: (qmail 81757 invoked from network); 15 Aug 2007 19:03:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Aug 2007 19:03:53 -0000 Received: (qmail 79032 invoked by uid 500); 15 Aug 2007 19:03:48 -0000 Delivered-To: apmail-logging-log4j-user-archive@logging.apache.org Received: (qmail 78934 invoked by uid 500); 15 Aug 2007 19:03:48 -0000 Mailing-List: contact log4j-user-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Users List" Reply-To: "Log4J Users List" Delivered-To: mailing list log4j-user@logging.apache.org Received: (qmail 78923 invoked by uid 99); 15 Aug 2007 19:03:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Aug 2007 12:03:48 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [204.127.192.85] (HELO rwcrmhc15.comcast.net) (204.127.192.85) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Aug 2007 19:03:43 +0000 Received: from [192.168.10.106] (c-76-31-215-166.hsd1.tx.comcast.net[76.31.215.166]) by comcast.net (rwcrmhc15) with SMTP id <20070815190321m150015rn7e>; Wed, 15 Aug 2007 19:03:21 +0000 Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <2E31CB5D3E672047A7C4D44CB56010C202C33F95@XMBCAK04> References: <2E31CB5D3E672047A7C4D44CB56010C202C33F7D@XMBCAK04> <2E31CB5D3E672047A7C4D44CB56010C202C33F84@XMBCAK04> <2E31CB5D3E672047A7C4D44CB56010C202C33F85@XMBCAK04> <2E31CB5D3E672047A7C4D44CB56010C202C33F87@XMBCAK04> <2E31CB5D3E672047A7C4D44CB56010C202C33F88@XMBCAK04> <2E31CB5D3E672047A7C4D44CB56010C202C33F91@XMBCAK04> <2E31CB5D3E672047A7C4D44CB56010C202C33F93@XMBCAK04> <86EDDEF2-4799-42F6-8EA5-D14391E451F0@apache.org> <2E31CB5D3E672047A7C4D44CB56010C202C33F95@XMBCAK04> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Curt Arnold Subject: Re: Where is XMLSocketAppender for XMLSocketReceiver? Date: Wed, 15 Aug 2007 14:03:16 -0500 To: "Log4J Users List" X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org On Aug 15, 2007, at 1:12 PM, Wilfong, Paul wrote: > On Aug 15, 2007 at 8:40 AM, Arnold, Curt wrote: >> I haven't followed this thread closely, but you should >> consider migrating away from log4j 1.3 to log4j 1.2 plus appropriate >> companions. > > Thanks Curt. > > If you read my most recent post you know I finally have achieved these > goals (all under WindowsXP): > 1. Run a Java program that uses log4j, with a SocketAppender, and > SimpleSocketServer to in turn output to a rolling file. > 2. Simultaneously run a C program that uses log4cxx, with a > XMLSocketAppender, and SimpleSocketServer/XMLSocketReceiver to > output to > the same rolling file. My current understanding is that the XML > appender and receiver must be used due to C/Java compatibility issues. > > I used 1.3 since it has the XML receiver, and it looked to me like 1.3 > was the latest and greatest from the log4j homepage > http://logging.apache.org/log4j/docs/index.html. Sorry for the > misunderstanding. > > Based on your input, I now plan to migrate back to 1.2 plus > companions. > > Is Chainsaw in one of companion packages? I believe I have looked in > all of them, but haven't seen it. > > I sure appreciate your help. > Chainsaw is its own product. In the last few months, we have migrated Chainsaw from using log4j 1.3 to using log4j 1.2 + several companions. The web site is stale since we have not officially released any of this work, but there is a staged web site at http:// svn.apache.org/repos/asf/logging/site/trunk/docs/index.html that shows what the web site should look like when we can push through a vote to start releasing these things. The download links on the staged web site anticipate the location of actual releases, so they won't work, but would appreciate any feedback on the staged site. Will probably cut some new release candidate shortly and any or all feedback is appreciated. It would be technical possible to have log4net and log4cxx's SocketAppenders generate binary streams compatible with log4j 1.2. It has been an item long on the wishlist (I think it is LOGCXX-7), but it would take analysis the Java serialization of o.a.l.spi.LoggingEvent and then replicating the binary layout within log4cxx and/or log4net. It would probably be good to have a log4j implementation of XMLSocketAppender in extras and I might take a quick shot to put one together. --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org