storm-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrey Dudin <doodin...@gmail.com>
Subject Re: storm debug messages in worker logs
Date Fri, 15 Apr 2016 10:15:06 GMT
Add -XX:+PrintFlagsFinal and -XX:+PrintFlagsInitial to worker.childopts,
and show all provided arguments.

2016-04-15 2:05 GMT+03:00 <storm@ccarrington.co.uk>:

> I don't have topology.debug defined anywhere.
>
>
> To be clear, my log4j config is:
>
>
>  <Syslog name="syslog" format="RFC5424" host="localhost" port="514"
>         protocol="UDP" appName="[${sys:storm.id}:${sys:worker.port}]"
> mdcId="mdc" includeMDC="true"
>         facility="LOCAL5" enterpriseNumber="18060" newLine="true"
> exceptionPattern="%rEx{full}"
>         messageId="[${sys:user.name}:${sys:logging.sensitivity}]"
> id="storm"/>
>
>
> <root level="info"> <!-- We log everything -->
>         <appender-ref ref="A1"/>
>         <appender-ref ref="syslog"/>
>     </root>
>
>
>
> There are 2 things that I don't understand.
>
>
> 1. Why are log messages from the server being logged in my topology worker
> logs?
>
> 2. Why are debug level messages being logged when the log level is set to
> "info"
>
>
> storm-core/src/jvm/org/apache/storm/messaging/netty/Client.java:
> LOG.debug("Getting metrics for client connection to {}",
> dstAddressPrefixedName);
>
> and
>
> storm-core/src/jvm/org/apache/storm/messaging/netty/Server.java:
> LOG.debug("Getting metrics for server on port {}", port);
>
> are both being logged in my topology worker logs.
>
> Thanks
>
> On 14 April 2016 at 16:04 Andrey Dudin <doodin201@gmail.com> wrote:
>
> And check log4j config.
>
> 2016-04-14 17:56 GMT+03:00 John Bush <john.bush@traxtech.com>:
>
> check your topology config,  I suspect this would cause that behavior
>
> topology.debug : true
>
>
> On Thu, Apr 14, 2016 at 7:42 AM,  <storm@ccarrington.co.uk> wrote:
> > Hi,
> >
> > storm version .10
> >
> > I'm using the default worker.xml config provided with storm.
> >
> > In my worker logs, I'm getting messages such as "Getting metrics for
> client
> > connection". Looking at the storm code, these messages should be debug
> > level, not info:
> >
> > storm-core/src/jvm/org/apache/storm/messaging/netty/Client.java:
> > LOG.debug("Getting metrics for client connection to {}",
> > dstAddressPrefixedName);
> >
> > I don't understand why I'm getting debug messages when the worker.xml is
> > configured for an info level.
> >
> > Please can somebody clarify for me?
> >
> >
> > Thanks
>
>
>
> --
>
> John Bush
> Trax Technologies, Inc.
> M: 480-227-2910
> TraxTech.Com
>
> --
> CONFIDENTIALITY NOTICE: The preceding and/or attached information may be
> confidential or privileged. It should be used or disseminated solely for
> the purpose of conducting business with Trax. If you are not an intended
> recipient, please notify the sender by replying to this message and then
> delete the information from your system. Thank you for your cooperation.
>
>
>
>
> --
> С уважением Дудин Андрей
>
>
>
>



-- 
С уважением Дудин Андрей

Mime
View raw message