Return-Path: Delivered-To: apmail-jakarta-log4j-user-archive@apache.org Received: (qmail 98210 invoked from network); 4 Apr 2002 23:23:24 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 4 Apr 2002 23:23:24 -0000 Received: (qmail 27139 invoked by uid 97); 4 Apr 2002 23:23:27 -0000 Delivered-To: qmlist-jakarta-archive-log4j-user@jakarta.apache.org Received: (qmail 27123 invoked by uid 97); 4 Apr 2002 23:23:26 -0000 Mailing-List: contact log4j-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Log4J Users List" Reply-To: "Log4J Users List" Delivered-To: mailing list log4j-user@jakarta.apache.org Received: (qmail 27106 invoked from network); 4 Apr 2002 23:23:25 -0000 Message-ID: <015401c1dc2f$b79bcfe0$69f72dc7@BAMBI> From: "David Thielen" To: "Log4J Users List" References: <73839EE85D27D411870300062938354002DC255F@cmh0401xcn01.amr.stercomm.com> <013c01c1dc2a$56bdeff0$69f72dc7@BAMBI> <3CACDB89.2070107@fedex.com> Subject: Re: logging an xml document Date: Thu, 4 Apr 2002 16:23:24 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N That's what I'm doing - but it bothers me to go to a text stream and then write that stream. Oh well - it only happens if logging is on. thanks - dave ----- Original Message ----- From: "Bobby Nations" To: "Log4J Users List" Sent: Thursday, April 04, 2002 4:02 PM Subject: Re: logging an xml document > Dave, > > Why not just read the file in as a bunch of strings and then send them > to the log? Or, if you've already got the file in memory, then craft > some way to convent the element to a giant String and then log it. > > Hope this helps, > > Bobby > > > David Thielen wrote: > > >I don't want the log in xml format - I want to write the contents of an xml > >file to the log - which is in text format. > > > >thanks - dave > > > > > >----- Original Message ----- > >From: "Collier, Mike" > >To: "'Log4J Users List'" > >Sent: Thursday, April 04, 2002 2:43 PM > >Subject: RE: logging an xml document > > > > > >>You could set your Appender to use XMLLayout for the layout. > >> > >>-----Original Message----- > >>From: David Thielen [mailto:dave@thielen.com] > >>Sent: Thursday, April 04, 2002 4:24 PM > >>To: Log4J Users List > >>Subject: logging an xml document > >> > >> > >>Hi; > >> > >>I want to log an xml Document. Is there any simple way to do this? The xml > >>DOM classes provide an easy way to write a text representation to a > >> > >stream - > > > >>but I don't see any way to get the stream(s) the logger uses. > >> > >>????? - thanks - dave > >> > >>-- > >>To unsubscribe, e-mail: > >> > > > > > >>For additional commands, e-mail: > >> > > > > > >> > > > > > >-- > >To unsubscribe, e-mail: > >For additional commands, e-mail: > > > > > > -- > Sr. Programmer / Analyst > FedEx Services > 20 FedEx Parkway > Collierville, TN 38017 > (901) 263-6517 > > > -- To unsubscribe, e-mail: For additional commands, e-mail: