Article View: borland.public.jbuilder.java.api
Article #34Re: method calls logging
From: Paul Nichols (TeamB)
Date: Wed, 19 Jan 2005 15:21
Date: Wed, 19 Jan 2005 15:21
14 lines
1619 bytes
1619 bytes
"Victor Ceban" <vceban@eei1.com> wrote in message news:41ee6b3b$1@newsgroups.borland.com... > Both this solutions require code to be altered (all methods) to show the > debugging information. What I was looking for is more of an adapter/Listener > that logs when my application enters a method in any class and leaves that > method in that class. Any suggestions ? > > Victor Neither of them will require you to redo your methods. If you opt for the log4j solution, only the startup class will need to include it. The second method, only requires you to start Tomcat with the switch. It works on the same principle of java -debug
Technical Details
Message-ID:
<41ee7ae2$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<41ed63d6$1@newsgroups.borland.com> <41edc04c@newsgroups.borland.com> <41ee6b3b$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 1089d0,a7b8d4ffc2d2f8a6 X-Google-Attributes: gid1089d0,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Paul Nichols \(TeamB\)" <paul@computer-logic.net> Newsgroups: borland.public.jbuilder.java.api References: <41ed63d6$1@newsgroups.borland.com> <41edc04c@newsgroups.borland.com> <41ee6b3b$1@newsgroups.borland.com> Subject: Re: method calls logging Date: Wed, 19 Jan 2005 09:21:06 -0600 Lines: 16 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 66.20.208.2 Message-ID: <41ee7ae2$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1106148066 66.20.208.2 (19 Jan 2005 07:21:06 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail