logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Stauffer" <stauffer.ja...@gmail.com>
Subject Re: Showing call hierarchy
Date Tue, 14 Nov 2006 17:40:02 GMT
The only way that I see to get it would be: new
Throwable().getStackTrace().length - stack frames from log4j.  That
would probably be expensive.  Any other ideas?

On 11/14/06, James Stauffer <stauffer.james@gmail.com> wrote:
> Would it be possible to add a pattern that prints one asterick (or
> some other character) for each from in the current stack?  What would
> be the cost?  Will it cost about as much as printing the line number?
>
> On 5/16/06, James Stauffer <stauffer.james@gmail.com> wrote:
> > I think it would be nice if the logs could be formatted to show the
> > stack depth so that I could more easily see the flow of debug
> > messages.  Is there anyway to do this?  Would it be too expensive?
> > --
> > James Stauffer
> > Are you good? Take the test at http://www.livingwaters.com/good/
> >
>
>
> --
> James Stauffer        http://www.geocities.com/stauffer_james/
> Are you good? Take the test at http://www.livingwaters.com/good/
>


-- 
James Stauffer        http://www.geocities.com/stauffer_james/
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message