[logback-dev] [JIRA] Commented: (LBCLASSIC-171) Exception data sometimes does not get logged when using warn(String, Throwable)
Marshall Pierce (JIRA)
noreply-jira at qos.ch
Tue Oct 25 17:43:12 CEST 2011
[ http://jira.qos.ch/browse/LBCLASSIC-171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12229#action_12229 ]
Marshall Pierce commented on LBCLASSIC-171:
-------------------------------------------
I was never able to reproduce this. Feel free to close this bug.
> 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