[logback-dev] [JIRA] Commented: (LBCLASSIC-171) Exception data sometimes does not get logged when using warn(String, Throwable)
Ceki Gulcu (JIRA)
noreply-jira at qos.ch
Tue Dec 8 11:29:41 CET 2009
[ http://jira.qos.ch/browse/LBCLASSIC-171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11423#action_11423 ]
Ceki Gulcu commented on LBCLASSIC-171:
--------------------------------------
If true, this is a pretty serious bug. However, without a test case or more specific data, this is not a reproducible bug. What changes between the times where the exception is printed and the times it is not?
> Exception data sometimes does not get logged when using warn(String, Throwable)
> -------------------------------------------------------------------------------
>
> Key: LBCLASSIC-171
> URL: http://jira.qos.ch/browse/LBCLASSIC-171
> Project: logback-classic
> Issue Type: Bug
> Affects Versions: 0.917
> Environment: Linux, sun jdk 1.6.0_07
> Reporter: Marshall Pierce
> Assignee: Logback dev list
>
> Source:
> try {
> doStuff();
> } catch (PhaseException e) {
> this.logger.warn("Phase failed:", e);
> this.logger.debug("Another log message");
> ...
> Log contents:
> phase.StandardPhase - Phase failed:
> phase.StandardPhase - Another log message
> The strange thing is that this doesn't happen all the time or even most of the time. Almost always, the exception data does get logged.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the logback-dev
mailing list