[logback-user] Joran errors I don't understand

Steve Cohen scohen at javactivity.org
Thu Nov 17 20:33:45 CET 2011

We have this configuration

<conversionRule conversionWord="ourcaller"
	converterClass="com.whatever.CallerDataConverter" />

<appender name="jms" class="com.whatever.JMSQueueAppender">
<pattern>%d %-5p [%t] %ourcaller{1} - %m%n</pattern>

<appender name="stdout" class="ch.qos.logback.core.ConsoleAppender">
<pattern>%d %-5p [%t] %ourcaller{1} %n - %m%n</pattern>

This configuration produces these errors:

3:21:43,935 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter at 18:14 - 
no applicable action for [encoder], current pattern is 
13:21:43,935 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter at 19:16 
- no applicable action for [pattern], current pattern is 

The line numbers here refer to the JMSQueueAppender.  The console 
appender which is structured basically identically has no such problem.

What is Joran trying to tell me here.  It appears to be telling me the 
pattern I am using, but does not tell me why it finds this objectionable.


More information about the Logback-user mailing list