node-ldapjs
node-ldapjs copied to clipboard
Get IP of a request
Hi, ldapjs is a real life-saver: I created a LDAP-server for our telephony which then searches for numbers in a SQL database. Therefore, thanks for ldapjs :)
I just improved our logging and I'm stuck when it comes to concurrency. When multiple systems query my LDAP service, logging gets messed up and I cannot really distinguish anymore between different requests.
I'm not that familiar with NodeJS, so I might miss the obvious 😅. Is there any chance to access the origin IP, origin port or some kind of request ID?