diff --git a/api/graphql/notification/Notification.go b/api/graphql/notification/Notification.go index 5ccd7742..457b4521 100644 --- a/api/graphql/notification/Notification.go +++ b/api/graphql/notification/Notification.go @@ -73,8 +73,6 @@ func BroadcastNotification(notification *models.Notification) { return } - log.Printf("Broadcasting notification: %s\n", notification.Header) - notificationLock.Lock() defer notificationLock.Unlock() diff --git a/api/scanner/exif/exif.go b/api/scanner/exif/exif.go index 0f40a50a..8c14fcf3 100644 --- a/api/scanner/exif/exif.go +++ b/api/scanner/exif/exif.go @@ -33,8 +33,6 @@ func InitializeEXIFParser() { // SaveEXIF scans the media file for exif metadata and saves it in the database if found func SaveEXIF(tx *gorm.DB, media *models.Media) (*models.MediaEXIF, error) { - log.Printf("Scanning for EXIF: %s", media.Path) - { // Check if EXIF data already exists if media.ExifID != nil { diff --git a/api/scanner/photoview_test.db b/api/scanner/photoview_test.db deleted file mode 100644 index b97d513c..00000000 Binary files a/api/scanner/photoview_test.db and /dev/null differ diff --git a/api/scanner/scanner_album.go b/api/scanner/scanner_album.go index 9e89b3a3..fdfb450a 100644 --- a/api/scanner/scanner_album.go +++ b/api/scanner/scanner_album.go @@ -78,7 +78,6 @@ func scanAlbum(album *models.Album, cache *AlbumScannerCache, db *gorm.DB) { processing_was_needed := false transactionError := db.Transaction(func(tx *gorm.DB) error { - log.Printf("Process media transaction enter (%s)", media.Path) processing_was_needed, err = ProcessMedia(tx, media) if err != nil { return errors.Wrapf(err, "failed to process photo (%s)", media.Path) @@ -96,7 +95,6 @@ func scanAlbum(album *models.Album, cache *AlbumScannerCache, db *gorm.DB) { }) } - log.Printf("Process media transaction exit (%s)", media.Path) return nil })