Add parse-log doc

pull/974/head
Chocobozzz 2018-08-27 15:33:22 +02:00
parent d77ad72663
commit 0ee027347a
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 10 additions and 0 deletions

View File

@ -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.