[logback-dev] [JIRA] Created: (LBCLASSIC-322) class and line conversion words don't work in SMTPAppender
Chris Cheshire (JIRA)
noreply-jira at qos.ch
Thu Feb 23 16:53:26 CET 2012
class and line conversion words don't work in SMTPAppender
----------------------------------------------------------
Key: LBCLASSIC-322
URL: http://jira.qos.ch/browse/LBCLASSIC-322
Project: logback-classic
Issue Type: Bug
Components: appender
Affects Versions: 1.0.0
Environment: logback-1.0.0, slf4j-1.6.4, java 6
Reporter: Chris Cheshire
Assignee: Logback dev list
The following layout works as expected when in a FileAppender or RollingFileAppender
<layout class="ch.qos.logback.classic.PatternLayout">
<pattern>%date [%thread] %-5level %logger %n%n Class : %class %n Line : %line %n%n%message%n</pattern>
</layout>
but when in an SMTPAppender, the class and line conversion words only produce a '?' instead of their correct values.
This was working in 0.9.24 (my last used version).
Chris
--
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