I am trying to run the logback example 'ReceiverExample.java' using the 
provided config file receiver1.xml.
When the application is started I get the following error messages:
12:24:13,190 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About 
to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
12:24:13,190 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming 
appender as [CONSOLE]
12:24:13,202 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA 
- Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] 
for [encoder] property
12:24:13,209 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - 
Setting level of ROOT logger to DEBUG
12:24:13,209 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - 
Attaching appender named [CONSOLE] to Logger[ROOT]
12:24:13,212 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@19:76 - no 
applicable action for [receiver], current pattern is [[configuration][receiver]]
12:24:13,212 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@20:11 - no 
applicable action for [port], current pattern is 
[[configuration][receiver][port]]
12:24:13,212 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction 
- End of configuration.

I don't understand what the issue with the receiver element in the config file.

The configutrration file is:
<configuration debug="true">

  <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
    <encoder>
      <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger - %msg%n</pattern>
    </encoder>
  </appender>

  <root level="DEBUG">
    <appender-ref ref="CONSOLE" />
  </root>

  <receiver class="ch.qos.logback.classic.net.server.ServerSocketReceiver">
    <port>6000</port>
  </receiver>

</configuration>


George Richardson
Software Developer
________________________        ____                                            
        _____
COMRAD.
Radiology Information Solutions
DDi +64 3 353 1445
e-mail:  [email protected]<mailto:[email protected]>

_______________________________________________
Logback-user mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-user

Reply via email to