Support Questions

Find answers, ask questions, and share your expertise

Enabling internal source code logging for Storm

Explorer

Hello,

I just want to know how to turn on logging for debug mode in storm-core. I tried updating cluster.xml and worker.xml files and set them to ALL level even then there are no logs for statements like -

LOG.info("Checkpoint interval is {} millis", interval);
also I have done - conf.setDebug(true);
1 ACCEPTED SOLUTION

Cloudera Employee

topology.debug and setting log level to DEBUG are different. First one is logging debug information from Storm itself, and second one is logging DEBUG or lower levels. If it doesn't be logged, there might not about log level or so. (for example, just not reached there...)

View solution in original post

1 REPLY 1

Cloudera Employee

topology.debug and setting log level to DEBUG are different. First one is logging debug information from Storm itself, and second one is logging DEBUG or lower levels. If it doesn't be logged, there might not about log level or so. (for example, just not reached there...)

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.