I get why everyone is jumping on you over this in general, but as someone else with jellyfin, I’ll back you up on this. Jellyfin has too many log entries for slow response it’s insane. Makes the logs barely legible. There is a checkbox to turn off logging those that you might want to consider unchecking.
I’d like to see your script.