Logging not happening with log4j when I export my java project into runnable jar

176 views Asked by At

I have configured log4j for my standalone java project. It works fine when I run the project in eclipse(logging happens). But when I export the project into Runnable jar file I'm not able to get the logging in the log file. I tried running the jar from command line, the flow works fine but I don't get any errors wrt log4j and the logging does not happen.

0

There are 0 answers