logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Thielen" <d...@thielen.com>
Subject Re: logging an xml document
Date Thu, 04 Apr 2002 22:44:54 GMT
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" <Mike_Collier@stercomm.com>
To: "'Log4J Users List'" <log4j-user@jakarta.apache.org>
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:
<mailto:log4j-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:log4j-user-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-user-help@jakarta.apache.org>


Mime
View raw message