I have a Java Jar file which has a method inside a class that returns a string value, and I also have a log4j logger inside the method.
I placed these 2 jars mycustom.jar and log4j.jar in node path.
In script snap (python) I mentioned the path of the jar and importing the class and able to call the method and get the output string successfully.
The problem is mycustom.jar is not able to create a log file in the path that I mentioned in the log4j.properties file and append logs to it.
Does anybody have idea on this or suggest the cause of the issue?
How to import custom class?