From 2aefb55a1a9ec54cbd3eebfbbfa9f0219728e0df Mon Sep 17 00:00:00 2001 From: rembo10 Date: Tue, 26 Jun 2012 19:46:21 +0530 Subject: [PATCH] Changed log level for cache updates to debug --- headphones/importer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/headphones/importer.py b/headphones/importer.py index fa541970..73ececfd 100644 --- a/headphones/importer.py +++ b/headphones/importer.py @@ -218,7 +218,7 @@ def addArtisttoDB(artistid, extrasonly=False): myDB.upsert("tracks", newValueDict, controlValueDict) - logger.info(u"Updating album cache for " + rg['title']) + logger.debug(u"Updating album cache for " + rg['title']) cache.getThumb(AlbumID=rg['id']) latestalbum = myDB.action('SELECT AlbumTitle, ReleaseDate, AlbumID from albums WHERE ArtistID=? order by ReleaseDate DESC', [artistid]).fetchone() @@ -243,7 +243,7 @@ def addArtisttoDB(artistid, extrasonly=False): myDB.upsert("artists", newValueDict, controlValueDict) - logger.info(u"Updating cache for: " + artist['artist_name']) + logger.debug(u"Updating cache for: " + artist['artist_name']) cache.getThumb(ArtistID=artistid) logger.info(u"Updating complete for: " + artist['artist_name'])