diff options
author | Chocobozzz <me@florianbigard.com> | 2021-10-25 10:18:41 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-10-25 10:18:41 +0200 |
commit | b2ad0090c182c7f2a8cba1cced3987d408a4b159 (patch) | |
tree | a04f8ce7467652df039560903fe365433599539f | |
parent | 0c691a182c7aeaf0d0e6f7f71d46d6f558e2843b (diff) | |
download | PeerTube-b2ad0090c182c7f2a8cba1cced3987d408a4b159.tar.gz PeerTube-b2ad0090c182c7f2a8cba1cced3987d408a4b159.tar.zst PeerTube-b2ad0090c182c7f2a8cba1cced3987d408a4b159.zip |
Don't write youtube-dl stdout in log
It's too big
-rw-r--r-- | server/helpers/youtube-dl/youtube-dl-cli.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
155 | 155 | ||
156 | const output = await execa('python', [ youtubeDLBinaryPath, ...completeArgs, url ], processOptions) | 156 | const output = await execa('python', [ youtubeDLBinaryPath, ...completeArgs, url ], processOptions) |
157 | 157 | ||
158 | logger.debug('Runned youtube-dl command.', { command: output.command, stdout: output.stdout, ...lTags() }) | 158 | logger.debug('Runned youtube-dl command.', { command: output.command, ...lTags() }) |
159 | 159 | ||
160 | return output.stdout | 160 | return output.stdout |
161 | ? output.stdout.trim().split(/\r?\n/) | 161 | ? output.stdout.trim().split(/\r?\n/) |