hoytech / strfry

a nostr relay
GNU General Public License v3.0
489 stars 96 forks source link

Can I log the reason for "Request ID too long"? #59

Open IngwiePhoenix opened 1 year ago

IngwiePhoenix commented 1 year ago

This is more out of curiosity, really. But I saw this today when updating strfry to latest master.

[Ingester 1      ]INFO| sending error to [10]: bad req: subscription id too long

I'd love to know what the ID was.

Thanks!

hoytech commented 1 year ago

Sure, I'll add this to the next version! For now, you could turn on relay.logging.dumpInReqs (although be warned that this will dump a lot of stuff to your logs)