[logback-user] SMTPAppender subject PARSER_ERROR
mirandes
mirandes at gmail.com
Sat Oct 26 19:22:50 CEST 2013
Hi, the subject of my SMTPAppender in logback access always displays a
%PARSER_ERROR, unless I put plain text in the subject.
For the subject line:
<subject>TESTING: %logger{20} - %m</subject>
I'm getting this as subject:
TESTING: %PARSER_ERROR[logger] - %PARSER_ERROR[m]
I'm using the 1.0.13 version in Jetty and my logback-access.xml is as
follows:
<appender name="SMTP"
class="ch.qos.logback.access.net.SMTPAppender">
<layout class="ch.qos.logback.access.PatternLayout">
<encoder>
<pattern>%fullRequest%n%n%fullResponse</pattern>
</encoder>
</layout>
<Evaluator class="ch.qos.logback.access.net.URLEvaluator">
<URL>index</URL>
</Evaluator>
<from>blahz at blah.com</from>
<subject>TESTING: %logger{20} - %m</subject>
<smtpHost>localhost</smtpHost>
<to>zzz at blah.com</to>
</appender>
<appender-ref ref="SMTP" />
Any ideas?
--
View this message in context: http://logback.10977.n7.nabble.com/SMTPAppender-subject-PARSER-ERROR-tp12998.html
Sent from the Users mailing list archive at Nabble.com.
More information about the Logback-user
mailing list