aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/video/video.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-07-30 17:02:40 +0200
committerChocobozzz <me@florianbigard.com>2018-07-30 17:02:40 +0200
commit8e0fd45e14993793c64e06682a4a05c29068d398 (patch)
tree4567d24150f1c633181095e755d3291c4b32cead /server/models/video/video.ts
parent43c4c63937b63ed1f41b17f4cc8fe652a6d010fc (diff)
downloadPeerTube-8e0fd45e14993793c64e06682a4a05c29068d398.tar.gz
PeerTube-8e0fd45e14993793c64e06682a4a05c29068d398.tar.zst
PeerTube-8e0fd45e14993793c64e06682a4a05c29068d398.zip
Add more info logging
Diffstat (limited to 'server/models/video/video.ts')
-rw-r--r--server/models/video/video.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/server/models/video/video.ts b/server/models/video/video.ts
index 5808f3936..a6c4620b2 100644
--- a/server/models/video/video.ts
+++ b/server/models/video/video.ts
@@ -607,8 +607,6 @@ export class VideoModel extends Model<VideoModel> {
607 }) as VideoChannelModel 607 }) as VideoChannelModel
608 } 608 }
609 609
610 logger.debug('Sending delete of video %s.', instance.url)
611
612 return sendDeleteVideo(instance, options.transaction) 610 return sendDeleteVideo(instance, options.transaction)
613 } 611 }
614 612
@@ -619,7 +617,7 @@ export class VideoModel extends Model<VideoModel> {
619 static async removeFiles (instance: VideoModel) { 617 static async removeFiles (instance: VideoModel) {
620 const tasks: Promise<any>[] = [] 618 const tasks: Promise<any>[] = []
621 619
622 logger.debug('Removing files of video %s.', instance.url) 620 logger.info('Removing files of video %s.', instance.url)
623 621
624 tasks.push(instance.removeThumbnail()) 622 tasks.push(instance.removeThumbnail())
625 623