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&
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...
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&
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
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
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