Comments (3)
I've tried following arguments:
-Dorg.slf4j.simpleLogger.log.org.apache.directory.server.xdbm.search.impl.DefaultSearchEngine=DEBUG
-Dorg.slf4j.simpleLogger.levelInBrackets=true
-Dorg.slf4j.simpleLogger.showThreadName=true
-Dorg.slf4j.simpleLogger.showDateTime=true
-Dorg.slf4j.simpleLogger.dateTimeFormat="yyyy-MM-dd'T'HH:mm:ss.SSS"
and after a search query execution, the output contains:
2020-03-02T09:26:29.635 [pool-3-thread-1] [DEBUG] org.apache.directory.server.xdbm.search.impl.DefaultSearchEngine - Nb results : 9223372036854775807 for filter : (&:[5](uid=*:[∞])(#{SUBTREE_SCOPE (Estimated), 'dc=jboss,dc=org', DEREF_ALWAYS}:[5]))
from ldap-server.
Another possibility is to add your own interceptor to the directory service. There is one test interceptor included within the code, you have to "just" (programmatically) plug it in.
In LdapServer.LdapServer(CLIArguments)
uncomment following line:
directoryService.addLast(new CountLookupInterceptor());
It outputs similar lines:
>> lookup: FilteringOperationContext for Dn 'uid=admin,ou=system', * (counter=3)
>> search: SearchContext for Dn 'dc=jboss,dc=org', filter :'(uid=*)' (counter=4)
Closing this question, feel free to reopen it if needed.
from ldap-server.
Awesome. Thanks so much!
from ldap-server.
Related Issues (17)
- Change LDAP Credential
- Apache Directory Studio refuses connection Docker HOT 4
- Adding examples HOT 6
- Avoid initial error
- How can I make the data persistent on the disk? HOT 3
- Anonymous bind HOT 1
- Error E04269 HOT 2
- Ldaps?
- The project cannot support the test of LDAP injection. HOT 1
- Attribute types are in lowercase within searchResEntry HOT 2
- Start TLS - Unrecognized extended operation
- Can SearchResultEntryHandler be used to intercept and change results?
- Docker README has inaccurate instructions for how to load a custom LDIF on startup
- TransportContext.java:352|Fatal (HANDSHAKE_FAILURE): no cipher suites in common ( "throwable"
- Ldap server on Db HOT 1
- groupOfUniqueMembers does not exist HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ldap-server.