ekzyis 72e2d19433
supercharged wallet logs (#1516)
* Inject wallet logger interface

* Include method in NWC logs

* Fix wrong page total

* Poll for new logs every second

* Fix overlapping pagination

* Remove unused total

* Better logs for incoming payments

* Use _setLogs instead of wrapper

* Remove inconsistent receive log

* Remove console.log from wallet logger on server

* Fix missing 'wallet detached' log

* Fix confirm_withdrawl code

* Remove duplicate autowithdrawal log

* Add context to log

* Add more context

* Better table styling

* Move CSS for wallet logs into one file

* remove unused logNav class
* rename classes

* Align key with second column

* Fix TypeError if context empty

* Check content-type header before calling res.json()

* Fix duplicate 'failed to create invoice'

* Parse details from LND error

* Fix invalid DOM property 'colspan'

* P2P zap logs with context

* Remove unnecessary withdrawal error log

* the code assignment was broken anyway
* we already log withdrawal errors using .catch on payViaPaymentRequest

* Don't show outgoing fee to receiver to avoid confusion

* Fix typo in comment

* Log if invoice was canceled by payer

* Automatically populate context from bolt11

* Fix missing context

* Fix wrap errors not logged

* Only log cancel if client canceled

* Remove unused imports

* Log withdrawal/forward success/error in payment flow

* Fix boss not passed to checkInvoice

* Fix TypeError

* Fix database timeouts caused by logger

The logger shares the same connection pool with any currently running transaction.

This means that we enter a classic deadlock when we await logger calls: the logger call is waiting for a connection but the currently running transaction is waiting for the logger call to finish before it can release a connection.

* Fix cache returning undefined

* Fix typo in comment

* Add padding-right to key in log context

* Always use 'incoming payment failed:'

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2024-11-08 13:26:40 -06:00
..
2024-09-07 10:01:00 -05:00
2024-07-12 17:34:46 -05:00
2024-10-02 19:24:01 -05:00
2024-09-13 09:26:08 -05:00
2024-10-12 18:05:45 -05:00
2024-10-30 22:26:45 -05:00
2024-04-16 17:58:26 -05:00
2024-04-26 21:22:30 -05:00
2023-08-25 18:21:51 -05:00
2024-09-20 10:15:44 -05:00
2024-09-19 13:13:14 -05:00
2024-10-30 13:49:57 -05:00
2024-09-28 16:33:07 -05:00
2024-09-26 17:37:13 -05:00
2024-03-25 15:35:32 -04:00
2024-07-10 19:23:05 -05:00
2024-10-25 22:10:15 +02:00
2024-07-12 15:18:13 -05:00
2024-07-01 12:02:29 -05:00
2024-07-01 12:02:29 -05:00
2023-08-04 20:45:12 -05:00
2024-07-01 12:02:29 -05:00
2024-09-19 13:13:14 -05:00
2024-09-19 13:13:14 -05:00
2024-09-28 20:02:33 -05:00
2024-10-31 15:43:20 +01:00
2024-10-30 13:49:47 -05:00
2023-11-10 09:22:14 -06:00
2024-09-13 10:41:07 -05:00
2024-08-26 12:59:39 -05:00
2024-11-07 16:24:41 -06:00
2024-03-19 19:37:31 -05:00
2024-04-08 17:54:39 -05:00
2024-11-07 19:17:50 -06:00
2021-05-06 16:15:22 -05:00
2024-10-30 13:45:05 -05:00
2024-10-02 21:23:16 -05:00
2024-10-25 22:10:15 +02:00
2024-10-11 19:14:18 -05:00
2024-05-15 12:05:50 -05:00
2024-10-02 18:39:56 -05:00
2024-09-19 13:13:14 -05:00
2024-10-30 13:49:47 -05:00
2022-01-27 13:18:48 -06:00
2024-09-19 13:13:14 -05:00
2024-03-26 19:49:10 -05:00
2024-03-27 14:04:04 -05:00
2024-09-12 13:05:11 -05:00
2024-03-19 19:37:31 -05:00
2024-09-19 13:13:14 -05:00
2024-09-12 13:05:11 -05:00
2024-09-12 13:05:11 -05:00
2024-09-12 13:05:11 -05:00
2021-10-15 13:05:34 -05:00
2024-09-12 13:05:11 -05:00
2024-09-28 16:33:07 -05:00
2024-07-11 16:58:55 -05:00
2024-09-12 13:05:11 -05:00
2024-10-11 19:14:18 -05:00
2024-03-19 19:37:31 -05:00
2023-07-24 13:53:53 -05:00
2024-09-12 13:05:11 -05:00
2023-07-24 13:53:53 -05:00
2023-10-03 14:35:53 -05:00
2024-11-07 19:55:34 -06:00
2024-09-19 13:13:14 -05:00
2024-09-12 13:05:11 -05:00
2024-09-19 13:13:14 -05:00
2024-09-12 13:05:11 -05:00
2024-10-30 13:49:57 -05:00
2024-07-11 16:58:55 -05:00
2024-03-19 19:37:31 -05:00
2024-07-12 15:18:13 -05:00
2023-05-06 16:51:17 -05:00
2024-09-12 13:05:11 -05:00
2024-03-19 19:37:31 -05:00
2024-09-12 13:05:11 -05:00
2024-03-19 19:37:31 -05:00
2024-03-19 19:37:31 -05:00
2024-10-30 13:49:47 -05:00
2024-03-26 18:36:31 -05:00
2023-08-25 18:21:51 -05:00
2024-09-19 13:13:14 -05:00
2024-10-11 19:14:18 -05:00
2024-09-12 13:05:11 -05:00
2024-10-02 21:23:16 -05:00
2024-07-09 11:46:38 -05:00
2024-07-11 16:58:55 -05:00
2024-09-20 10:41:46 -05:00
2024-09-20 10:15:44 -05:00
2024-08-21 14:59:28 -05:00
2024-10-30 13:49:47 -05:00
2024-10-30 13:49:47 -05:00
2024-05-15 12:05:50 -05:00
2024-10-30 13:45:05 -05:00
2024-11-02 19:15:44 -05:00