When you test Jsel, when you call a custom function, an exception occurs as follows:
Log4j:warn No appenders could be found for logger
Log4j:warn Initialize the log4j system properly.
Solution Reference Joshua Taylor the answer is as follows:
http://stackoverflow.com/questions/12532339/no-appenders-could-be-found-for-loggerlog4j
The contents are as follows:
short Introduction to log4j guide is a Little bit old but still valid.
That's guide would give you some information on the use loggers and appenders.
Just to get going you has a simple approaches and can take.
First one is to just add this line to your main method:
Basicconfigurator.configure ();
second approach is to add this standard log4j.properties
# Set Root Logger level-to-DEBUG and its-only appender to A1.
Log4j.rootlogger=debug, A1
# A1 is set to be a consoleappender.
Log4j.appender.a1=org.apache.log4j.consoleappender
# A1 uses Patternlayout.
Log4j.appender.a1.layout=org.apache.log4j.patternlayout
log4j.appender.a1.layout.conversionpattern=%-4r [%t]%-5p%c%x-%m%n
Log4j:warn No appenders could be found for logger