diff options
Diffstat (limited to 'support/doc/tools.md')
-rw-r--r-- | support/doc/tools.md | 10 |
1 files changed, 10 insertions, 0 deletions
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 | |||
85 | 85 | ||
86 | These scripts should be run on the server, in `peertube-latest` directory. | 86 | These scripts should be run on the server, in `peertube-latest` directory. |
87 | 87 | ||
88 | ### parse-log | ||
89 | |||
90 | To parse PeerTube last log file: | ||
91 | |||
92 | ``` | ||
93 | $ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run parse-log -- --level info | ||
94 | ``` | ||
95 | |||
96 | `--level` is optional and could be `info`/`warn`/`error` | ||
97 | |||
88 | ### create-transcoding-job.js | 98 | ### create-transcoding-job.js |
89 | 99 | ||
90 | You can use this script to force transcoding of an existing video. | 100 | You can use this script to force transcoding of an existing video. |