I just looked at quilt (http://quilt.sourceforge.net). It is a code coverage testing tool, but it modifies the binary class files to insert coverage auditing calls. You could use what he has already done to do the same type of thing.
Scott > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of > Benson Chen > Sent: Monday, December 17, 2001 1:57 PM > To: [EMAIL PROTECTED] > Subject: automatic trace insertion > > > Hi all, > > I'm interested in automatically inserting log4j trace > statements at the 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 that, does anyone know of a java class parser that can > be used to do this sort of thing? Thoughts or ideas? Thanks! > > -- > Benson Chen > Director of Software Engineering > Porivo Technologies, Inc. > Phone: (919)806-0566x12 > E-Mail: [EMAIL PROTECTED] > "Measuring end-to-end Web performance" > > > > > -- > To unsubscribe, e-mail: > <mailto:log4j-dev-> [EMAIL PROTECTED]> > For > additional commands, > e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>