logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@octo.com>
Subject RE: automatic trace insertion
Date Tue, 18 Dec 2001 09:57:30 GMT
I am using AspectJ and Log4J in the Jakarta Cactus project to
automatically log entries and exits of public methods that take

The source code of the aspect is available at :


Hope it helps.

P.S.: You need to use the ajc compiler instead of javac to compile your
code. Look for "ajc" in :


> -----Original Message-----
> From: bchen@porivo.com [mailto:bchen@porivo.com] On Behalf Of Benson
> Sent: 17 December 2001 21:57
> To: log4j-dev@jakarta.apache.org
> Subject: automatic trace insertion
> Hi all,
> I'm interested in automatically inserting log4j trace statements at
> beginning of all methods and right before the end of a method (return
> statement or thrown exception).  I'm presuming most people have worked
> on projects with extensive class libraries and it would be great if
> there was a class parser that could intelligently insert log4j
> statements automatically.  If there isn't anything out there like
> does anyone know of a java class parser that can be used to do this
> of thing?  Thoughts or ideas?  Thanks!
> --
> Benson Chen
> Director of Software Engineering
> Porivo Technologies, Inc.
> Phone: (919)806-0566x12
> E-Mail: benson@porivo.com
> "Measuring end-to-end Web performance"
> --
> To unsubscribe, e-mail:   <mailto:log4j-dev-
> unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:log4j-dev-
> help@jakarta.apache.org>

To unsubscribe, e-mail:   <mailto:log4j-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-dev-help@jakarta.apache.org>

View raw message