I am using Eclipse Oxygen 2 and I have a Maven project that I am trying to run as a JAR via a shell script on a RHEL server. It runs ok but the logging is not working.
I am getting these warnings when I run the JAR.
log4j:WARN No appenders could be found for logger (com.foo.bar.foo.bar).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
I am using the log4j as a Maven dependency on my local Eclipse repo so could that be the problem? If so how would I get the jar working with my tool on the RHEL server?