aboutsummaryrefslogtreecommitdiffhomepage
path: root/support
diff options
context:
space:
mode:
authorFlorent <florent.git@zeteo.me>2022-08-16 08:06:49 +0200
committerChocobozzz <chocobozzz@cpy.re>2022-08-16 10:32:53 +0200
commit045224d5eb6a41081186c4040bab1570b9d9ad65 (patch)
tree514367d323f1a35ff6c5a618a6addade98fd11c2 /support
parentcbdbee807ddc202901fd61f1af4ca2988d2268b5 (diff)
downloadPeerTube-045224d5eb6a41081186c4040bab1570b9d9ad65.tar.gz
PeerTube-045224d5eb6a41081186c4040bab1570b9d9ad65.tar.zst
PeerTube-045224d5eb6a41081186c4040bab1570b9d9ad65.zip
Allow continusously printing logs through tail and parse-log
Diffstat (limited to 'support')
-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