How to use unboundid debug log and log4j -
need in integrating unboundid debug logs in log4j.
i understand debug class used unboundid logs , want have them in log4j files
try this:
static { // bridge java.util.logger output log4j system.setproperty("java.util.logging.manager", "org.apache.logging.log4j.jul.logmanager"); // setting ldap debug level... system.setproperty("com.unboundid.ldap.sdk.debug.enabled", "true"); system.setproperty("com.unboundid.ldap.sdk.debug.level", "finest"); system.setproperty("com.unboundid.ldap.sdk.debug.type", debugtype.gettypenamelist()); }
Comments
Post a Comment