Thanks, I tried to implement the following code
var LoggerManager = Java.type("org.apache.logging.log4j.LogManager");
var log = LoggerManager.getLogger("SSTI");
log.debug("-------------------HELLO-----------------------")
But did not see any logs in the zap.log file. Is this right way doing?