getAlby / lndhub.go

Accounting wrapper for the Lightning Network. It provides separate accounts for end-users. (LndHub compatible API written in Go)
GNU General Public License v3.0
86 stars 23 forks source link

Add JSON logging to rabbitmq publishing #411

Closed bumi closed 1 year ago

bumi commented 1 year ago

Currently we log something like:

Successfully published invoice to rabbitmq with RHash  xxxx

this makes it harder to search for it in the logs. We should use JSON logging and add metadata of the invoice.

rolznz commented 1 year ago

It would be nice for all logs to use JSON logging