diff options
Diffstat (limited to 'support/doc/tools.md')
-rw-r--r-- | support/doc/tools.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/support/doc/tools.md b/support/doc/tools.md index 452b3d039..da32506bd 100644 --- a/support/doc/tools.md +++ b/support/doc/tools.md | |||
@@ -244,6 +244,13 @@ $ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production | |||
244 | 244 | ||
245 | `--level` is optional and could be `info`/`warn`/`error` | 245 | `--level` is optional and could be `info`/`warn`/`error` |
246 | 246 | ||
247 | You can also remove SQL or HTTP logs using `--not-tags`: | ||
248 | |||
249 | ``` | ||
250 | $ cd /var/www/peertube/peertube-latest | ||
251 | $ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run parse-log -- --level debug --not-tags http sql | ||
252 | ``` | ||
253 | |||
247 | ### create-transcoding-job.js | 254 | ### create-transcoding-job.js |
248 | 255 | ||
249 | You can use this script to force transcoding of an existing video. PeerTube needs to be running. | 256 | You can use this script to force transcoding of an existing video. PeerTube needs to be running. |