Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
log the IP address as seen by Express, if available
For `remote-addr`, the logging middleware should use `req.ip`, the IP address seen by Express. This is especially useful when behind a proxy with the Express “trust proxy” option. If `req.ip` is not enabled, fallback to the traditional method.
- Loading branch information