Reputation: 331
Apache Storm
How I can set log level for new topology and for exist once?
In java I wrote:
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
...
private static final Logger LOG = LoggerFactory
.getLogger(MyClass.class);
...
LOG.debug("my debug log");
LOG.info("my info log");
and I see line with "my info log" but I dont see "my debug log" in worker.log file.
Upvotes: 1
Views: 1473
Reputation: 331
Decision:
https://community.hortonworks.com/articles/36203/debugging-an-apache-storm-topology-1.html
The best way for set log level of all topology:
./bin/storm set_log_level my_topology -l ROOT=DEBUG:30
Upvotes: 3