diff options
author | Chocobozzz <me@florianbigard.com> | 2018-08-27 15:33:22 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-27 15:33:22 +0200 |
commit | 0ee027347ae09ea397e9b85702707e9179537ebd (patch) | |
tree | 430eddc042f2f461fdc319c17670e91240c0bb93 /support | |
parent | d77ad726631ea09ee1aa92e52cfac8c8c781ec35 (diff) | |
download | PeerTube-0ee027347ae09ea397e9b85702707e9179537ebd.tar.gz PeerTube-0ee027347ae09ea397e9b85702707e9179537ebd.tar.zst PeerTube-0ee027347ae09ea397e9b85702707e9179537ebd.zip |
Add parse-log doc
Diffstat (limited to 'support')
-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. |