Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Enabling internal source code logging for Storm

avatar
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

avatar
Contributor

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

avatar
Contributor

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...)