The configuration file for TOR is torrc[1] which is in the path /etc/tor/torrc. You have to enable some configurations in this file manually to enable logging in different log levels. Tor has several log levels:
Lets enable "notice" and "debug" and log them into separate files. Find the following section of the config file:
Uncomment those lines, this will start logging data in to notices.log and debug.log files.
- err": something bad just happened, and we can't recover. Tor will exit.
- "warn": something bad happened, but we're still running. The bad thing might be a bug in the code, some other Tor process doing something unexpected, etc. The operator should examine the message and try to correct the problem.
- "notice": something the operator will want to know about.
- "info": something happened (maybe bad, maybe ok), but there's nothing you need to (or can) do about it.
- "debug": for everything louder than info. It is quite loud indeed.
Lets enable "notice" and "debug" and log them into separate files. Find the following section of the config file:
The torrc config file log configuration |
Uncomment those lines, this will start logging data in to notices.log and debug.log files.
Comments
Post a Comment