Dear Lukas

Thanks for the help.
Seems your Idea can be a solution (Thanks Ceki G�lc�)
Can explain a bit more your idea ?

May be an abstract example of source code can explain.

My problem is I�m not only new to log4j even almost new to Java.
So if you have some more information this would be very nice.

Best Regards

Joerg

> -----Original Message-----
> From: Ceki G�lc� [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, June 05, 2003 2:53 PM
> To: Log4J Users List
> Subject: Re: Log4j instead of writeTo(System.out) 
> 
> 
> 
> MimeMessage specific ObjectRenderer is probably the best solution.
> 
> At 01:46 PM 6/5/2003 +0200, you wrote:
> >Dear all
> >
> >I just started with log4j and realize that is has lot of 
> advantages to 
> >other logging.
> >
> >Now I want to change my existing web applications to log4j. 
> So, here is 
> >my question:
> >
> >How can I log for example
> >MimeMessage.writeTo(System.out) with log4j into a file.
> >
> >I tried already
> >Log.info(MimeMessage.getContent ()) but it doesn't work.
> >
> >Any ideas ?
> >
> >Thanks in advance for you help
> >
> >Joerg
> 
> --
> Ceki  For log4j documentation consider "The complete log4j manual"
>        ISBN: 2970036908  http://www.qos.ch/shop/products/clm_t.jsp 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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

Reply via email to