mirror of https://github.com/Chocobozzz/PeerTube
Add parse-log doc
parent
d77ad72663
commit
0ee027347a
|
@ -85,6 +85,16 @@ $ node dist/server/tools/upload.js --help
|
||||||
|
|
||||||
These scripts should be run on the server, in `peertube-latest` directory.
|
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
|
### create-transcoding-job.js
|
||||||
|
|
||||||
You can use this script to force transcoding of an existing video.
|
You can use this script to force transcoding of an existing video.
|
||||||
|
|
Loading…
Reference in New Issue