ilp-connector icon indicating copy to clipboard operation
ilp-connector copied to clipboard

sessions should log client IP

Open kruisdraad opened this issue 6 years ago • 1 comments

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 avatar Aug 04 '18 22:08 kruisdraad

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

kruisdraad avatar Aug 04 '18 23:08 kruisdraad