You should probably add a new logger and appender for your topology such
that it doesn't include storm's infrastructure logging.

e. g.

<appender name="A1" class="ch.qos.logback.core.FileAppender">

    <file>myApp.log</file>

    <encoder>

      <pattern>%d{yyyy-MM-dd HH:mm:ss} %c{1} [%p] %m%n</pattern>

    </encoder>

  </appender>


<logger name="com.my.awesome.topology" level="INFO">

    <appender-ref ref="A1"/>

</logger>


On Mon, Apr 21, 2014 at 9:42 AM, Software Dev <[email protected]>wrote:

> Is there any way to adjust this per topology or project as opposed to
> system wide?
>
> On Sun, Apr 20, 2014 at 11:23 PM, 朱春来 <[email protected]> wrote:
> > Try to modify the property file of log4j which is in the
> $STROM_HOME/log4j
> >
> >
> > 2014-04-19 6:59 GMT+08:00 Software Dev <[email protected]>:
> >
> >> How can one change the log levels.. the output is insane!
> >
> >
> >
> >
> > --
> > Thanks,
> >
> > Chunlai
>



-- 
Lin Zhao

https://wiki.groupondev.com/Message_Bus
3101 Park Blvd, Palo Alto, CA 94306

Reply via email to