DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23867>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23867 Stack trace not printed when no text message is given Summary: Stack trace not printed when no text message is given Product: Log4j Version: unspecified Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: Other AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Trying to log an Exception using log.debug(ex) results in not printing a stack trace. You have to use the two-argument version debug(Object, Throwable) to get a stack trace. Actually, I think this is a little cumbersome since all I need is the stack trace. It would look quite ugly in the code if I had to write log.debug("", ex) everywhere. I suggest adding a method debug(Throwable) that prints the Throwable's stack trace. (The same goes for all other logging levels.) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]