Move noisy logs to debug
This commit is contained in:
@@ -67,7 +67,7 @@ func DownloadAudioFiles(progressChan chan<- DownloadStatus, filenames []string,
|
||||
totalDownloaded := int64(0)
|
||||
|
||||
for _, filename := range filenames {
|
||||
logger.Info("Downloading %s", filename)
|
||||
logger.Debug("Downloading %s", filename)
|
||||
destPath := filepath.Join(destDir, filename)
|
||||
// Check if the file already exists
|
||||
url := urlBase + filename
|
||||
@@ -95,7 +95,7 @@ func DownloadAudioFiles(progressChan chan<- DownloadStatus, filenames []string,
|
||||
if !os.IsNotExist(err) {
|
||||
logger.Warning("%s corrupt. Adding to download queue.", filename)
|
||||
} else {
|
||||
logger.Info("%s not found. Adding to download queue.", filename)
|
||||
logger.Debug("%s not found. Adding to download queue.", filename)
|
||||
}
|
||||
|
||||
// Append it to the list to download
|
||||
|
||||
Reference in New Issue
Block a user