[logback-user] ConsoleAppender/FileAppender encoding

Matthieu Guamis matthieu.guamis at axege.com
Thu Mar 25 16:33:18 CET 2010


It seems that element "encoding" is no more recognized in 
Console/FileAppender so maybe I missed something (no more reference in 
documentation) but I did not find what :(
Here is my (new) configuration (logback 0.9.19)

<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<pattern>%d %t [%-5level] - %-40class{40} - %msg%n</pattern>

And the corresponding output at runtime:

15:58:29,127 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - 
About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
15:58:29,146 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - 
Naming appender as [STDOUT]

15:58:29,226 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter at 7:13 - 
no applicable action for [encoding], current pattern is 

15:58:29,230 |-INFO in 
ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing 
component [encoder] on top of the object stack.
15:58:29,403 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction 
- Setting additivity of logger [org.barracudamvc] to true
15:58:29,403 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - 
org.barracudamvc level set to WARN
15:58:29,403 |-INFO in 
ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender 
named [STDOUT] to Logger[org.barracudamvc]

Any suggestion on what could be wrong?

*Matthieu Guamis*
*Logo Axège <http://www.axege.com/>* 	/Axège//
23,rue Saint-Simon
63000 Clermont-Ferrand/

Tél: +33 (0)4 63 05 95 40
Fax: +33 (0)
Email: matthieu.guamis at axege.com <mailto:matthieu.guamis at axege.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-user/attachments/20100325/847fefeb/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logoNew4.PNG
Type: image/png
Size: 2941 bytes
Desc: not available
URL: <http://qos.ch/pipermail/logback-user/attachments/20100325/847fefeb/attachment.png>

More information about the Logback-user mailing list