mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
Change log level for playlist log messages
This commit is contained in:
parent
26dba27778
commit
9028d301f0
1 changed files with 4 additions and 4 deletions
|
@ -109,12 +109,12 @@ func (c *PlaylistsController) UpdatePlaylist(w http.ResponseWriter, r *http.Requ
|
|||
pname = &s
|
||||
}
|
||||
|
||||
log.Info(r, "Updating playlist", "id", playlistId)
|
||||
log.Debug(r, "Updating playlist", "id", playlistId)
|
||||
if pname != nil {
|
||||
log.Debug(r, fmt.Sprintf("-- New Name: '%s'", *pname))
|
||||
log.Trace(r, fmt.Sprintf("-- New Name: '%s'", *pname))
|
||||
}
|
||||
log.Debug(r, fmt.Sprintf("-- Adding: '%v'", songsToAdd))
|
||||
log.Debug(r, fmt.Sprintf("-- Removing: '%v'", songIndexesToRemove))
|
||||
log.Trace(r, fmt.Sprintf("-- Adding: '%v'", songsToAdd))
|
||||
log.Trace(r, fmt.Sprintf("-- Removing: '%v'", songIndexesToRemove))
|
||||
|
||||
err = c.pls.Update(r.Context(), playlistId, pname, songsToAdd, songIndexesToRemove)
|
||||
if err == model.ErrNotAuthorized {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue