From 9de33c6bd9580ab43cc7bc089c54b2fe2bdfd72d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 8 Jun 2021 16:19:09 +0200 Subject: Add logs for refresh functions --- server/lib/activitypub/playlists/refresh.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'server/lib/activitypub/playlists') diff --git a/server/lib/activitypub/playlists/refresh.ts b/server/lib/activitypub/playlists/refresh.ts index ff9e5471a..6f3a6be37 100644 --- a/server/lib/activitypub/playlists/refresh.ts +++ b/server/lib/activitypub/playlists/refresh.ts @@ -10,6 +10,8 @@ async function refreshVideoPlaylistIfNeeded (videoPlaylist: MVideoPlaylistOwner) const lTags = loggerTagsFactory('ap', 'video-playlist', 'refresh', videoPlaylist.uuid, videoPlaylist.url) + logger.info('Refreshing playlist %s.', videoPlaylist.url, lTags()) + try { const { playlistObject } = await fetchRemoteVideoPlaylist(videoPlaylist.url) -- cgit v1.2.3