Re: Log Utility

2008-04-04 Thread Tim Nguyen
your method: if (this.debug) { logger.debug(new String("test")); } Hope this helps. Robert Pepersack Senior Lead Developer Maryland Insurance Administration 410-468-2054 >>> Tim Nguyen <[EMAIL PROTECTED]> 04/04/2008 3:02 PM >>> Hi, I

Log Utility

2008-04-04 Thread Tim Nguyen
Hi, I am writing a Log Utility to check the log level first before creating a string object. For example, if my log level is INFO, and I call: log.debug(new String("test")); It will still instantiate the String object even thought it doesn't log anything. So I would like to write an Utility t

Re: Write a bean to a file

2008-01-28 Thread Tim Nguyen
Thanks Curt! That's exactly what I am looking for. - Original Message From: Curt Arnold <[EMAIL PROTECTED]> To: Log4J Users List Sent: Monday, January 28, 2008 1:34:27 PM Subject: Re: Write a bean to a file On Jan 28, 2008, at 1:24 PM, Tim Nguyen wrote: >

Write a bean to a file

2008-01-28 Thread Tim Nguyen
Hi, I am a newbie of Log4j. I wonder if anyone has an example or an utility of how to write a bean to a file using Log4j. Thank you! Be a better friend, newshound, and know-it-all with Yahoo! Mobile.