From 0ee027347ae09ea397e9b85702707e9179537ebd Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 27 Aug 2018 15:33:22 +0200 Subject: Add parse-log doc --- support/doc/tools.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'support/doc') diff --git a/support/doc/tools.md b/support/doc/tools.md index cb3944595..2f36d07fd 100644 --- a/support/doc/tools.md +++ b/support/doc/tools.md @@ -85,6 +85,16 @@ $ node dist/server/tools/upload.js --help These scripts should be run on the server, in `peertube-latest` directory. +### parse-log + +To parse PeerTube last log file: + +``` +$ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run parse-log -- --level info +``` + +`--level` is optional and could be `info`/`warn`/`error` + ### create-transcoding-job.js You can use this script to force transcoding of an existing video. -- cgit v1.2.3