How to use log4j logging API in an Eclipse RCP project?
As a workaround U tried to create a new OSGI Bundle which has a log4j jars, below is the bundle structure:
Require-Bundle: org.apache.log4j;bundle-version="1.2.15" bin.includes = plugin.xml,\
META-INF/,\
.,\
lib/log4j-1.2.17.jar
PropertyConfigurator.configure(log4jConfPath);
LOGGER.debug("STARTING APPLICATION ..");
I found this tutorial helpful. Please check - Add log4j to RCP Application