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]
