Add tor event logs

This commit is contained in:
Quentin 2020-01-23 10:59:53 +01:00
parent 7f9e044b6c
commit e392cded61
2 changed files with 10 additions and 0 deletions

View file

@ -2,6 +2,11 @@
mkdir -p $5/{log,shared}
cd $5/shared
echo -e 'authenticate ""\nsetevents extended circ circ_minor stream orconn addrmap status_general status_client guard info notice warn err newdesc descchanged ns status_server stream_bw clients_seen hs_desc network_liveness' | \
nc --no-shutdown 127.0.0.1 9051 | \
ts \
> ../log/server-tor-events-stdout.log 2> ../log/server-tor-events-stderr.log
donar \
-a dup2 \
-s \

View file

@ -2,6 +2,11 @@
mkdir -p $6/{log,shared}
cd $6/shared
echo -e 'authenticate ""\nsetevents extended circ circ_minor stream orconn addrmap status_general status_client guard info notice warn err newdesc descchanged ns status_server stream_bw clients_seen hs_desc network_liveness' | \
nc --no-shutdown 127.0.0.1 9051 | \
ts \
> ../log/server-tor-events-stdout.log 2> ../log/server-tor-events-stderr.log
donar \
-a lightning \
-s \