Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Add parse-log doc

Chocobozzz0ee027347ae0
diff --git a/support/doc/tools.md b/support/doc/tools.md
index cb39445956..2f36d07fdc 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.