Log4j not working on Linux server, but working in Eclipse (Windows)

I am currently having an issue where my Log4j is not working when I have the JAR package placed in a Linux RHEL server. I have included all the steps below and hopefully you can help me, cheers.

My program is a Maven project.

Log4j properties is under src/main/resources

My log4j is coming from an entry in my pom.xml. log4j packages are in my local Maven repo.

The logging works fine when I run my program on Eclipse on my laptop

I export the JAR package as a Runnable JAR.

I select "Package Required libraries into...

Read More »

By: StackOverFlow - 6 days ago

Related Posts