Hi ,
I have placed log4j.properties file in the bin folder (where rest of the class files reside) in my workspace . The applications runs properly and logging works perfectly.
But when I create a jar file out of this project (using WSAD), the jar file runs correctly, but the logging fails.
The following Error is seen on the command prompt
log4j:WARN No appenders could be found for logger (com.abnamro.nl.inv.drop.processor.DropProcessor)
log4j:WARN Please initialize the log4j system properly
My manifest file has the flollowing content
Manifest-Version: 1.0
Class-Path: log4j.jar common-logging.jar
log4j:WARN No appenders could be found for logger
log4j:WARN Please initialize the log4j system properly
I feel that the properties file is not being fetched from the bin folder while generating the jar file.
Please let me know if anybody has the solution for this.
Regards,