summaryrefslogtreecommitdiff
path: root/src/main/java/com/c2kernel/lookup
diff options
context:
space:
mode:
authorAndrew Branson <andrew.branson@cern.ch>2012-08-03 13:59:56 +0200
committerAndrew Branson <andrew.branson@cern.ch>2012-08-03 13:59:56 +0200
commit4058f36268d4233ae755f7de2ed16c893f649ffa (patch)
tree45237500e7979c827ada65a7cc9129718ddc39c1 /src/main/java/com/c2kernel/lookup
parentc9b9cea6d6c59107ab3a6a67a81e8e3862b41fce (diff)
Logging and error message clean-up
Logger.debug(String) now deprecated so they're easier to spot when left in.
Diffstat (limited to 'src/main/java/com/c2kernel/lookup')
-rw-r--r--src/main/java/com/c2kernel/lookup/LDAPLookup.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/com/c2kernel/lookup/LDAPLookup.java b/src/main/java/com/c2kernel/lookup/LDAPLookup.java
index 39744ac..d9f5fd9 100644
--- a/src/main/java/com/c2kernel/lookup/LDAPLookup.java
+++ b/src/main/java/com/c2kernel/lookup/LDAPLookup.java
@@ -70,13 +70,13 @@ public class LDAPLookup
DomainPath.mTypeRoot = "cn=domain,"+props.mLocalPath;
mNextKeyManager = new NextKeyManager(this, "cn=last,"+EntityPath.mTypeRoot);
- Logger.debug("LDAP.useOldProps="+Gateway.getProperty("LDAP.useOldProps", "false"));
+ Logger.msg(7, "LDAP.useOldProps="+Gateway.getProperty("LDAP.useOldProps", "false"));
if (Gateway.getProperty("LDAP.useOldProps", "false").equals("true")) {
- Logger.debug("Using Kernel 2.1 LDAP Property Format");
+ Logger.debug(1, "Using Kernel 2.1 LDAP Property Format");
mPropManager = new LegacyLDAPPropertyManager(this);
}
else {
- Logger.debug("Using Kernel 2.2 LDAP Property Format");
+ Logger.debug(1, "Using Kernel 2.2 LDAP Property Format");
mPropManager = new LDAPPropertyManager(this);
}
mRoleManager = new LDAPRoleManager(this, "cn=agent,"+DomainPath.mTypeRoot, EntityPath.mTypeRoot);