[logback-dev] [JIRA] Closed: (LBCLASSIC-171) Exception data sometimes does not get logged when using warn(String, Throwable)

Ceki Gulcu (JIRA) noreply-jira at qos.ch
Tue Oct 25 17:47:12 CEST 2011


     [ http://jira.qos.ch/browse/LBCLASSIC-171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ceki Gulcu closed LBCLASSIC-171.
--------------------------------

    Resolution: Cannot Reproduce

Thanks.

> 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