简体   繁体   中英

How to implement log changes in a storm project locally using Eclipse

I can't figure out how to implement changes to a local storm project using Eclipse. I can implement changes no problem on server deployed code by modifying the ./logback/clusters.xml file (eg changing log level from INFO to ERROR ).
How could I go about doing this?

I am not sure if I understand correctly. What do you mean by "local storm project"? Do you execute using LocalCluster? In this case, you need to create a file "logback.xml" and put you logger configuration there. logback.xml must be in your classpath, ie, you can put it into "src" folder to enable Eclipse to find it. Or you put it somewhere else and extend your classpath accordingly.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM