RE: Pretty Layout of logging by class & method

2007-08-31 Thread Faine, Mark R. (MSFC-NNM04AA02C)[SAIC]
process. -Mark -Original Message- From: Curt Arnold [mailto:[EMAIL PROTECTED] Sent: Friday, August 31, 2007 10:54 AM To: Log4J Users List Subject: Re: Pretty Layout of logging by class & method On Aug 31, 2007, at 10:13 AM, Faine, Mark R. (MSFC-NNM04AA02C)[SAIC] wrote: > > I&

Re: Pretty Layout of logging by class & method

2007-08-31 Thread Curt Arnold
On Aug 31, 2007, at 10:13 AM, Faine, Mark R. (MSFC-NNM04AA02C)[SAIC] wrote: I'd like for Log4J to print the log messages with some sort of indentation, preferably by Class and Method Something like: Start Class1 Inside Main method... Calling Sub method... Inside Sub method...

RE: Pretty Layout of logging by class & method

2007-08-31 Thread Faine, Mark R. (MSFC-NNM04AA02C)[SAIC]
Layout of logging by class & method Are you saying that you want one logger.log() call to print the entire stack trace? Or do you want logger.log() calls exiting and entering each method? On 8/31/07, Faine, Mark R. (MSFC-NNM04AA02C)[SAIC] <[EMAIL PROTECTED]> wrote: > > > I&

Re: Pretty Layout of logging by class & method

2007-08-31 Thread Matthew Kemp
Are you saying that you want one logger.log() call to print the entire stack trace? Or do you want logger.log() calls exiting and entering each method? On 8/31/07, Faine, Mark R. (MSFC-NNM04AA02C)[SAIC] <[EMAIL PROTECTED]> wrote: > > > I'd like for Log4J to print the log messages with some sort of

Re: Pretty Layout of logging by class & method

2007-08-31 Thread James A. N. Stauffer
You might be able to push a space character with NDC (and pop it when you exit). Then print the NDC as the first part of the message. On 8/31/07, Faine, Mark R. (MSFC-NNM04AA02C)[SAIC] <[EMAIL PROTECTED]> wrote: > > I'd like for Log4J to print the log messages with some sort of > indentation, pre

Pretty Layout of logging by class & method

2007-08-31 Thread Faine, Mark R. (MSFC-NNM04AA02C)[SAIC]
I'd like for Log4J to print the log messages with some sort of indentation, preferably by Class and Method Something like: Start Class1 Inside Main method... Calling Sub method... Inside Sub method... Executing operations in sub method... Sub Method success Main Method succes