Paul thanks for the info.
when you mean > > If you REALLY need this, it's already available from > the CVS HEAD. Do you mean that XMLLayout thats accepts MDC input is available from CVS . I currently have version 1.2.8 so dont know if that suports MDC or not . Secondly can u let me know as to what needs to be done in order to be able to use MDC with XMLLayout -- can I see a log4j.xml config explaining the same if available . Thirdly is there any way I can include a pattern as in the PatternLayout to spit out teh XML message ?? I mean basically I want to show the hostname and time of log message in the XML output and am kinda in a fix as to if it can be done. Once again thanks for the input . - Kar --- Paul Smith <[EMAIL PROTECTED]> wrote: > > However I am not able to do the same using > XMLLayout . > > I browsed the net and could not findy any examples > as > > to doing something similar (i.e being able to use > the > > equivalent of conversionpattern with XMLLayout ) . > > > > > Please help as our project deadline is coming > closer > > and for last 5 days i have had no luck with the > same . > > The Log4J docs also dont have any example as to > how to > > format the XMLLayout output . > > If you REALLY need this, it's already available from > the CVS HEAD. You > can't format XMLLayout. The XML IS the format... > > You will have to weigh up whether the feature is > worth going with a > non-release version of log4j though. Worth trying it > out though. > > cheers, > > Paul Smith > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
