I am trying to log tor with the following command:
journalctl -f -u email@example.com | echo < log.tor.txt
Is there anything that I should change? Is this possible with journalctl? should I see something else?
Tor Stack Exchange is a question and answer site for researchers, developers, and users of Tor. It only takes a minute to sign up.Sign up to join this community
It seems like redirecting the output of
journalctl is a bit tricky, see this post for more context
You may want to use
sudo journalctl > complete.log.txt
Depending on your needs you can use
journalctl -f instead
Then you can filter the results with
cat complete.log.txt | grep tor
Well, the best and the right way is to use Tor as a SystemD service - don't forget to build it by hand with this features enabled! It's totally not the problem - SystemD offers a service groups nowdays and you can use them to tailor all your specific needs without discarding runtime dependencies and starting/stopping grouping and order.