The current version of the Tor Browser Bundle doesn't contain Vidalia. Therefore it is quite hard to have a look in the log file and to find relevant messages. What is the best way to set up logging using version 3.5 or later of Tor Browser Bundle? How can I open the log file? How can this be done in GNU/Linux, Windows and Mac OS X?
1 Answer
According to the Tor FAQ you should be able to find the log files in the following paths:
- On OS X, Debian, Ubuntu, Red Hat, etc.:
/var/log/tor
- Windows: no default log files on Windows. If you enable logging in
torrc
file, logs would appear in\username\Application Data\tor\log\
or\Application Data\tor\log\
You can always set up custom logging by editing you torrc
file.
For example, add the following line to your torrc
file to log at the debug
level:
Log debug file /path/to/log/tor_debug.log
You can then open/inspect Tor logs using text editors, specialized log viewers (e.g. Gnome System Log Viewer) or command lines tools such as grep
and tail
.
-
This FAQ entry talks about a daemon. I'd like to have an example which fits more into to TBB. My goal is to have a reference Q&A to which I can point users later. ;)– Jens Kubieziel ♦Feb 4, 2014 at 16:06
-
The logs you would see in Vidalia (e.g. Bootstrapping %X...) were indeed coming from Tor daemon. Do you want to have something like NSPR logging from Tor Browser?– gacarFeb 4, 2014 at 23:50