UniversityRadioYork / MyRadio

University Radio York's back-end radio management system
https://ury.org.uk/myradio
16 stars 16 forks source link

MyRadio_PlaylistsDaemon's logging is too spammy #1143

Open markspolakovs opened 9 months ago

markspolakovs commented 9 months ago

90% of the daemon's log lines come from PlaylistsDaemon's similarity algorithm, which makes going through the daemon logs to find other issues difficult - especially if it fills up the log buffer.

The lines in question are all

2024-02-04T13:13:56.815929000Z Running \MyRadio\Daemons\MyRadio_PlaylistsDaemon
2024-02-04T13:13:57.476199000Z Found 9 similar tracks for Lose Control - Teddy Swims
2024-02-04T13:13:57.488254000Z Found 33 similar tracks for Murder on the Dancefloor - Sophie Ellis-Bextor
# that over and over again (about 40 lines)
2024-02-04T13:14:06.526362000Z Found 1 similar tracks for WOOWOO - Monjola
2024-02-04T13:14:06.582990000Z ERROR updating playlist: could not get lock on random-auto

repeated every ~10 seconds.