Page MenuHomePhabricator

linkrecommendation-internal logs appear to be multiline json
Closed, ResolvedPublic

Description

Event Timeline

The service uses the json-logging library which in turn uses plain json.dumps as serializer, which in theory shouldn't be multiline. Not sure where that goes wrong.

Change 739571 had a related patch set uploaded (by Cwhite; author: Cwhite):

[research/mwaddlink@main] remove indent parameter

https://gerrit.wikimedia.org/r/739571

Change 739571 merged by jenkins-bot:

[research/mwaddlink@main] remove indent parameter

https://gerrit.wikimedia.org/r/739571

Change 740788 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[operations/deployment-charts@master] linkrecommendation: Bump version

https://gerrit.wikimedia.org/r/740788

Change 740788 merged by jenkins-bot:

[operations/deployment-charts@master] linkrecommendation: Bump version

https://gerrit.wikimedia.org/r/740788

kostajh claimed this task.
kostajh subscribed.

@colewhite I just deployed the updated image that includes this patch. Please reopen if there are any issues, and thanks for the patch!

Thanks @kostajh! I see it reduced the number of linkrecommendation events logged by 84% 🎉

Screenshot from 2021-11-23 20-11-42.png (257×1 px, 31 KB)