diff options
Diffstat (limited to 'support/doc')
-rw-r--r-- | support/doc/development/tests.md | 13 |
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 | |||
79 | NODE_APP_INSTANCE=1 NODE_ENV=test npm run parse-log -- --level debug | less +GF | 79 | NODE_APP_INSTANCE=1 NODE_ENV=test npm run parse-log -- --level debug | less +GF |
80 | ``` | 80 | ``` |
81 | 81 | ||
82 | You can also: | ||
83 | - checkout only the latest logs (PeerTube >= 5.0): | ||
84 | |||
85 | ```bash | ||
86 | tail -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 | ||
92 | tail -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 | ||