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

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -