orasis 0 Report post Posted June 6, 2003 When I run my application w/o JET, the logs show perfectly the class and method from which the log message is being created, as so: Jun 5, 2003 5:52:07 PM com.onionnetworks.localpeer.WebRaidDownload addSource INFO: WebRaidDownload..addSource(http://onionnetworks.com/tmp/linux-2.0.tar.gz) But, when I run it with JET, it loses this information: Jun 4, 2003 12:42:04 AM unknown unknown INFO: WebRaidDownload..addSource(http://onionnetworks.com/tmp/linux-2.0.tar.gz) Now, I could understand if it obfuscated the class and method names to something like 'aab' and 'aac' and then provided some sort of file that mapped the obfuscated names to the original names, like most Java obfuscators do, but 'unknown' makes debugging the source of problems almost impossible and probably breaks some log parsing code. Is there any way for me to get around this and have it output the original class name? Share this post Link to post Share on other sites
AlexM 0 Report post Posted June 6, 2003 Hello. By default, JET do not gather stack trace during creation of exceptions. This behavior may be enabled by setting the jet.stack.trace property - from the JET control panel; from the command line (SET JETVMPROP=-Djet.stack.trace) or in the project file (-jetvmprop=-Djet.stack.trace). See JET User's Guide for more details. It should help, because the logging API relies on the stack trace. -AlexM. Share this post Link to post Share on other sites