mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-08 05:39:49 -05:00
[GH-ISSUE #800] Gerbil produces wrongly parsed logs #1640
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @narbux on GitHub (May 29, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/800
In the logs of Pangolin I noticed these lines appearing multiple times.
As you can see the text after 'Peer added/deleted successfully' is rendered as an object...
Which are probably the parsing of
response.data.statusin this code:b467d6afa1/server/routers/gerbil/peers.ts (L27)b467d6afa1/server/routers/gerbil/peers.ts (L47)@oschwartz10612 commented on GitHub (May 30, 2025):
Yeah I have been meaning to fix this for forever. Do you want to tackle it perhaps?
@yadneshx17 commented on GitHub (Feb 19, 2026):
is this open to work with ?
@oschwartz10612 commented on GitHub (Feb 25, 2026):
@yadneshx17 sure!
@LaurenceJJones commented on GitHub (Feb 26, 2026):
Hey just to keep it updated 04ecf41c , the code seems to have moved to structured logging from winston by passing it as an object:
so this can be likely closed?
@oschwartz10612 commented on GitHub (Feb 26, 2026):
Thanks for checking on this @LaurenceJJones that sound right!