So my xml has to take a lifetime vow of celibacy and service to god?

<g> - dave


----- Original Message -----
From: "Bobby Nations" <[EMAIL PROTECTED]>
To: "Log4J Users List" <[EMAIL PROTECTED]>
Sent: Thursday, April 04, 2002 4:07 PM
Subject: Re: logging an xml document


> Dave,
>
> Whoops on the Freudian slip "convent the element".  I meant to type
> "convert the element".
>
> A quick look at the jdom api showed that the Document class had a
> toString() method meant for debugging that would appear to fit the bill.
>
> Cheers,
>
> Bobby
>
>
> Bobby Nations wrote:
>
> > 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" <[EMAIL PROTECTED]>
> >> To: "'Log4J Users List'" <[EMAIL PROTECTED]>
> >> 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:[EMAIL PROTECTED]]
> >>> 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:
> >>>
> >> <mailto:[EMAIL PROTECTED]>
> >>
> >>> For additional commands, e-mail:
> >>>
> >> <mailto:[EMAIL PROTECTED]>
> >>
> >>>
> >>
> >>
> >> --
> >> To unsubscribe, e-mail:
> >> <mailto:[EMAIL PROTECTED]>
> >> For additional commands, e-mail:
> >> <mailto:[EMAIL PROTECTED]>
> >>
> >>
> >
>
> --
> Sr. Programmer / Analyst
> FedEx Services
> 20 FedEx Parkway
> Collierville, TN  38017
> (901) 263-6517
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to