Stack trace for Check exceptions
"JOVANOVIC Nenad" <[email protected]>
| Newsgroups | gmane.comp.java.audit.checkstyle.user |
|---|---|
| Message-ID | <78E8C582BF1E7B4FB20F5277E406748B14CC29@as00005.office.chipkarte.at> |
Hi! How can I configure Checkstyle to emit a detailed stack trace of exceptions (e.g., NullPointerException) that are thrown inside Check classes (both user-defined and checkstyle checks)? I am using the jar file of checkstyle and would like to leave it in its original state, so I am searching for a solution to my problem that does not require compiling Checkstyle myself. Currently, Checkstyle swallows all the details and simply notes "Got an exception - ..." in the report. In the source code of TreeWalker, I noticed that Checkstyle uses Apache Commons Logging to log the details of the message, but where can I find these details? I already tried to configure logging with a commons-logging.properties, but to no avail. Thanks in advance, -- Nenad ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php