clean up api log prints
This commit is contained in:
parent
dd658854c9
commit
d03923992c
|
@ -73,8 +73,6 @@ func BroadcastNotification(notification *models.Notification) {
|
|||
return
|
||||
}
|
||||
|
||||
log.Printf("Broadcasting notification: %s\n", notification.Header)
|
||||
|
||||
notificationLock.Lock()
|
||||
defer notificationLock.Unlock()
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
Binary file not shown.
|
@ -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
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue