From b2ad0090c182c7f2a8cba1cced3987d408a4b159 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 25 Oct 2021 10:18:41 +0200 Subject: [PATCH] Don't write youtube-dl stdout in log It's too big --- server/helpers/youtube-dl/youtube-dl-cli.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/helpers/youtube-dl/youtube-dl-cli.ts b/server/helpers/youtube-dl/youtube-dl-cli.ts index 440869205..559f92984 100644 --- a/server/helpers/youtube-dl/youtube-dl-cli.ts +++ b/server/helpers/youtube-dl/youtube-dl-cli.ts @@ -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/)