Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sessions should log client IP #454

Open
kruisdraad opened this issue Aug 4, 2018 · 1 comment
Open

sessions should log client IP #454

kruisdraad opened this issue Aug 4, 2018 · 1 comment

Comments

@kruisdraad
Copy link
Contributor

Looking at the logs i get:

2018-08-04T22:37:36.272Z ilp-plugin-xrp-server:trace debug got connection
2018-08-04T22:37:36.373Z ilp-plugin-xrp-server:trace debug got auth info. token=13c21c3c19557fa317bb6afd6e3125b2db7a825988abe1a5ee58641c2f7db224
2018-08-04T22:37:36.373Z ilp-plugin-xrp-server:debug debug not accepted error during auth. error=
2018-08-04T22:37:36.506Z ilp-plugin-xrp-server:debug debug incoming ws closed. error=
2018-08-04T22:37:39.950Z ilp-plugin-xrp-server:trace debug got connection
2018-08-04T22:37:40.102Z ilp-plugin-xrp-server:trace debug got auth info. token=08e3110a0d71c3d2963a77f4936bbc9eedb4fe131a5f412f9d945b9f0f698d19
2018-08-04T22:37:40.103Z ilp-plugin-xrp-server:debug debug not accepted error during auth. error=
2018-08-04T22:37:40.275Z ilp-plugin-xrp-server:debug debug incoming ws closed. error=
2018-08-04T22:37:41.917Z ilp-plugin-xrp-server:trace debug got connection
2018-08-04T22:37:42.028Z ilp-plugin-xrp-server:trace debug got auth info. token=13c21c3c19557fa317bb6afd6e3125b2db7a825988abe1a5ee58641c2f7db224
2018-08-04T22:37:42.029Z ilp-plugin-xrp-server:debug debug not accepted error during auth. error=
2018-08-04T22:37:42.176Z ilp-plugin-xrp-server:debug debug incoming ws closed. error=
2018-08-04T22:37:45.779Z ilp-plugin-xrp-server:trace debug got connection
2018-08-04T22:37:45.930Z ilp-plugin-xrp-server:trace debug got auth info. token=08e3110a0d71c3d2963a77f4936bbc9eedb4fe131a5f412f9d945b9f0f698d19
2018-08-04T22:37:45.932Z ilp-plugin-xrp-server:debug debug not accepted error during auth. error=
2018-08-04T22:37:46.088Z ilp-plugin-xrp-server:debug debug incoming ws closed. error=

i would love to know

  • the IP so i would be able to troubleshoot this.
  • the server (which plugin port) where the request came into
  • if exists, the client ID, so its more grepable
@kruisdraad
Copy link
Contributor Author

anything reason for more 'linkable' logs:

2018-08-04T23:03:57.146Z connector:expire-middleware debug packet expired. cond=jW5LWptA expiresAt=2018-08-04T23:03:57.145Z
2018-08-04T23:03:57.146Z connector:expire-middleware debug packet expired. cond=2inUT+6z expiresAt=2018-08-04T23:03:57.145Z
2018-08-04T23:03:57.346Z connector:expire-middleware debug packet expired. cond=iwkUPGiY expiresAt=2018-08-04T23:03:57.346Z

@adrianhopebailie adrianhopebailie added this to To do in Connector Refactor via automation Oct 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant