node-ldapjs icon indicating copy to clipboard operation
node-ldapjs copied to clipboard

Get IP of a request

Open debuglevel opened this issue 9 months ago • 0 comments

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?

debuglevel avatar May 02 '24 11:05 debuglevel