Enabling Log4J in JNIWrapper

Starting from version 3.8, JNIWrapper comes with SLF4J Loggin Facade. SLF4J supports multiple logging frameworks. We distribute JNIWrapper library with Simple implementation, which outputs all events to System.err. Only messages of level INFO and higher are printed. This binding may be useful in the context of small applications.

To enable Log4J in JNIWrapper please do the following steps:

1. Download the archive using the following link: http://www.slf4j.org/dist/slf4j-1.6.0.zip
2. From this archive copy the slf4j-log4j12-1.6.0.jar and add it to your application class path
3. Add the attached log4j.properties file to your application class path
4. Remove the slf4j-simple.jar from the application class path to disable default JNIWrapper logging

If you want to bind with other loggers, please refer to the SLF4J User Manual.