Page MenuHomePhabricator

[token-server] Improve logging
ClosedPublic

Authored by bytesofman on Sep 2 2024, 23:01.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC932af23d6614: [token-server] Improve logging
Summary

Because token-server runs in a docker container, the IP logging I set up from local testing does not actually work. It just logs the IP address of the server itself.

Looking at this as a solution: https://stackoverflow.com/questions/10849687/express-js-how-to-get-remote-client-address

Test Plan

Check logs in prod. May need to iterate and improve here with how the app is deployed.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
token-server-better-logging
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 30152
Build 59834: Build Difftoken-server-tests
Build 59833: arc lint + arc unit