Discussion:
[Savonet-users] reload-mode: how to prevent flood the log?
neralex
2017-03-26 08:07:08 UTC
Permalink
Hey!

After reloading my playlist with (reload_mode="watch") it floods my
log-file with duplicates of these entries like this:

2017/03/26 09:54:25 [247:3] Playlist is a directory.
2017/03/26 09:54:25 [247:3] Successfully loaded a playlist of 87 tracks.
2017/03/26 09:54:25 [247:3] Playlist is a directory.
2017/03/26 09:54:25 [247:3] Successfully loaded a playlist of 87 tracks.
2017/03/26 09:54:25 [247:3] Playlist is a directory.
2017/03/26 09:54:25 [247:3] Successfully loaded a playlist of 87 tracks.
2017/03/26 09:54:25 [247:3] Playlist is a directory.
2017/03/26 09:54:25 [247:3] Successfully loaded a playlist of 87 tracks.
2017/03/26 09:54:25 [247:3] Playlist is a directory.
2017/03/26 09:54:25 [247:3] Successfully loaded a playlist of 87 tracks.
2017/03/26 09:54:25 [247:3] Playlist is a directory.
2017/03/26 09:54:25 [247:3] Successfully loaded a playlist of 87 tracks.
2017/03/26 09:54:25 [247:3] Playlist is a directory.
2017/03/26 09:54:25 [247:3] Successfully loaded a playlist of 87 tracks.
2017/03/26 09:54:25 [247:3] Playlist is a directory.
2017/03/26 09:54:25 [247:3] Successfully loaded a playlist of 87 tracks.
2017/03/26 09:54:25 [247:3] Playlist is a directory.
2017/03/26 09:54:25 [247:3] Successfully loaded a playlist of 87 tracks.
2017/03/26 09:54:25 [247:3] Playlist is a directory.
2017/03/26 09:54:25 [247:3] Successfully loaded a playlist of 87 tracks.
2017/03/26 09:54:25 [247:3] Playlist is a directory.
2017/03/26 09:54:25 [247:3] Successfully loaded a playlist of 87 tracks.
2017/03/26 09:54:25 [247:3] Playlist is a directory.
2017/03/26 09:54:25 [247:3] Successfully loaded a playlist of 87 tracks.

Mostly 100 and more duplicates after each reload.
Any ideas how can I prevent this?

Liquidsoap 1.2.1 (opam)
Debian Jessie

default_pls = playlist(reload=1,reload_mode="watch",source_247)

Thanks in advance.

Continue reading on narkive:
Loading...