Filtered log output and uncovered a little typo.
This commit is contained in:
@@ -1424,7 +1424,7 @@ public class LdapTemplate implements LdapOperations, InitializingBean {
|
||||
List result = search(base, filter, new LdapEntryIdentificationContextMapper());
|
||||
if (result.size() != 1) {
|
||||
log.error("Unable to find unique entry matching in authentication; base: '" + base + "'; filter: '"
|
||||
+ filter + "'. Found " + result.size() + " mathching entries");
|
||||
+ filter + "'. Found " + result.size() + " matching entries");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
log4j.rootCategory=INFO, stdout
|
||||
|
||||
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
|
||||
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
|
||||
log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - <%m>%n
|
||||
|
||||
log4j.logger.org.apache.directory=ERROR
|
||||
@@ -6,4 +6,7 @@ log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
|
||||
# Enable info on Spring LDAP
|
||||
#log4j.logger.org.springframework.ldap=INFO
|
||||
|
||||
log4j.logger.org.apache.directory.server.schema.registries.DefaultSyntaxRegistry=WARN
|
||||
log4j.logger.org.apache.directory.server.schema.registries.DefaultSyntaxRegistry=WARN
|
||||
log4j.logger.org.apache.directory.server.core.schema.bootstrap=ERROR
|
||||
log4j.logger.org.apache.directory.server.core.partition.impl.btree=ERROR
|
||||
log4j.logger.org.apache.directory.shared.ldap.ldif=ERROR
|
||||
|
||||
Reference in New Issue
Block a user