zentity should take advantage of the logging architecture of Elasticsearch to aid troubleshooting. This can be implemented as needed instead of creating a dedicated feature branch for logging.
To implement this:
Add the following property to any class that will use the logger (substituting CLASS_NAME with the name of the class):
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
class MyClass {
private static final Logger logger = LogManager.getLogger(MyClass.class);
}
zentity should take advantage of the logging architecture of Elasticsearch to aid troubleshooting. This can be implemented as needed instead of creating a dedicated feature branch for logging.
To implement this:
CLASS_NAME
with the name of the class):elasticsearch.yml
file of each node to write the log messages to the Elasticsearch log files: