<div dir="ltr">Your appender needs to implement setConfig, and your config must implement setCapacity.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Aug 24, 2014 at 1:24 PM, lb <span dir="ltr"><<a href="mailto:lburgazzoli@gmail.com" target="_blank">lburgazzoli@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi, I'm writing a custom appender that has a configuration similar to:</div><div><br></div><div>

<appender name  = "myAppender" class = "com.my.Appender"></div><div>    <config class="com.my.Config"></div>
<div>        <capacity>128</capacity></div><div>    </config></div><div></appender><br></div><div><br></div><div>When I test it, I have the following error:</div><div><br></div><div><div>20:19:40,527 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@41:32 - no applicable action for [capacity], current ElementPath  is [[configuration][appender][config][capacity]]</div>


</div><div><br></div><div>So config is properly handled whereas nested properties are not, how can I enable it?</div><div><br></div><div>Thank you,</div><div>Luca</div><div><br></div></div>
<br>_______________________________________________<br>
Logback-user mailing list<br>
<a href="mailto:Logback-user@qos.ch">Logback-user@qos.ch</a><br>
<a href="http://mailman.qos.ch/mailman/listinfo/logback-user" target="_blank">http://mailman.qos.ch/mailman/listinfo/logback-user</a><br></blockquote></div><br></div>