Hello,

I have added a custom  appender to /opt/storm/logback/cluster.xml

*    <appender name="anishek"
class="ch.qos.logback.core.rolling.RollingFileAppender">*
*        <file>${storm.log.dir}/anishek.log</file>*
*        <rollingPolicy
class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">*
*
<fileNamePattern>${storm.log.dir}/anishek.log.%i</fileNamePattern>*
*            <minIndex>1</minIndex>*
*            <maxIndex>100</maxIndex>*
*        </rollingPolicy>*

*        <triggeringPolicy
class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">*
*            <maxFileSize>100MB</maxFileSize>*
*        </triggeringPolicy>*

*        <encoder>*
*            <pattern>%d{yyyy-MM-dd'T'HH:mm:ss.SSSZZ} %c{1} [%p]
%m%n</pattern>*
*        </encoder>*
*    </appender>*


I have no logger even to ref to this appender. I restart both
supervisor/nimbus, when i try to submit my topology the worker never starts
and supervisor keeps spawning new workers for the same. The jstack of the
process says its blocked on writing to file, no deadlock.

All of this is on one machine having nimbus/supervisor.
Can someone please tell me why this is happening and how do i configure
custom appenders.

note: when starting nimbus/supervisor with custom appender, there are log
registration messages on console which dont come if the custom appender is
not configured.

Regards,
anishek

Reply via email to