aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc/development
diff options
context:
space:
mode:
Diffstat (limited to 'support/doc/development')
-rw-r--r--support/doc/development/tests.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/support/doc/development/tests.md b/support/doc/development/tests.md
index 52e7993b2..207d4f984 100644
--- a/support/doc/development/tests.md
+++ b/support/doc/development/tests.md
@@ -79,6 +79,19 @@ While testing, you might want to display a server's logs to understand why they
79NODE_APP_INSTANCE=1 NODE_ENV=test npm run parse-log -- --level debug | less +GF 79NODE_APP_INSTANCE=1 NODE_ENV=test npm run parse-log -- --level debug | less +GF
80``` 80```
81 81
82You can also:
83 - checkout only the latest logs (PeerTube >= 5.0):
84
85```bash
86tail -n 100 test1/logs/peertube.log | npm run parse-log -- --level debug --files -
87```
88
89 - continuously print the latests logs (PeerTube >= 5.0):
90
91```bash
92tail -f test1/logs/peertube.log | npm run parse-log -- --level debug --files -
93```
94
82 95
83## Client E2E tests 96## Client E2E tests
84 97