Upgrade my scripts as I want moar logs

This commit is contained in:
Quentin 2020-01-23 15:26:01 +01:00
parent 2bef91ec8b
commit 2eca18949e
2 changed files with 2 additions and 2 deletions

View file

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

View file

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