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

I cannot figure out how to implement the changes in the local storm project using Eclipse. I can implement the changes without problems on the deployed code server by changing the ./logback/clusters.xml file (for example, changing the log level from INFO to ERROR ).
How can i do this?

0
source share
1 answer

I am not sure if I understand correctly. What do you mean by "local storm project"? Is it running using LocalCluster? In this case, you need to create the "logback.xml" file and set the log configuration there. logback.xml should be in your class path, that is, you can put it in the "src" folder to enable Eclipse to find it. Or you put it in another place and expand your class accordingly.

0
source

Source: https://habr.com/ru/post/990035/


All Articles