HomePhabricator

[alias-server] log API requester and hostname

Description

[alias-server] log API requester and hostname

Summary:
T2965

Fetch and log IP addresses and host names that hit the server

Test Plan: node index.js, navigate to localhost:5000/aliases, check logs. Note: you won't get a good IP address in local testing.

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

Differential Revision: https://reviews.bitcoinabc.org/D13346

Details

Provenance
bytesofmanAuthored on Mar 15 2023, 23:48
bytesofmanPushed on Mar 16 2023, 11:57
Reviewer
Restricted Project
Differential Revision
D13346: [alias-server] log API requester and hostname
Parents
rABC612173d4b406: [alias-server] Patch bug in log.js
Branches
Unknown
Tags
Unknown