There is another worker.xml in the same folder. This is picked up in the
topology, not cluster.xml

On Thu, Sep 10, 2015 at 3:40 PM, Miguel Ángel Fernández Fernández <
[email protected]> wrote:

> I recently started working in 0.10 storm version, that as it is mentioned
> in https://storm.apache.org/2015/06/15/storm0100-beta-released.html,
>  “now uses Apache Log4j 2”
>
> My problem is that now I don’t know how to include topology log
> configurations in my cluster.
>
> Until now, I usually updates {storm_path}/logback/cluster.xml (<include
> optional="true" resource="logback_include.xml"/>) and also include
>  the custom project logback_include.xml configuration in the .jar file:
>
> <included>
>
> <appender name="FILEDebugStream"
> class="ch.qos.logback.core.FileAppender">
> <file>/tmp/File.log
> </file>
> <append>true</append>
> <encoder>
> <pattern>%date %-5level %logger{0} - %msg %n</pattern>
> </encoder>
> </appender>
>
> <logger name="package.class"
> level="DEBUG">
> <appender-ref ref="FILEDebugStream" />
> </logger>
> </included>
>
> In storm 0.10 I tried to follow a similar structure (with a log4j file),
> but it don't seem to do the trick. Did anybody have this problem?
>



-- 
Regards,
Abhishek Agarwal

Reply via email to