]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Don't write youtube-dl stdout in log
authorChocobozzz <me@florianbigard.com>
Mon, 25 Oct 2021 08:18:41 +0000 (10:18 +0200)
committerChocobozzz <me@florianbigard.com>
Mon, 25 Oct 2021 08:18:41 +0000 (10:18 +0200)
It's too big

server/helpers/youtube-dl/youtube-dl-cli.ts

index 440869205d05aeffbe4f19fc154501b50cb4ec26..559f92984ff58784002ad7cce80fcab779686cc6 100644 (file)
@@ -155,7 +155,7 @@ export class YoutubeDLCLI {
 
     const output = await execa('python', [ youtubeDLBinaryPath, ...completeArgs, url ], processOptions)
 
-    logger.debug('Runned youtube-dl command.', { command: output.command, stdout: output.stdout, ...lTags() })
+    logger.debug('Runned youtube-dl command.', { command: output.command, ...lTags() })
 
     return output.stdout
       ? output.stdout.trim().split(/\r?\n/)