What is the command to view the tor log file on Debian?

Assuming you didn't add any `Log` lines to the torrc and assuming you are using the `default` tor instance, journalctl -eu tor@default -e to jump to the end -u to specify the unit, tor@default Logs end up here by default because /usr/share/tor/tor-service-defaults-torrc has `Log notice syslog`. I think (but don't know for sure) adding a `Log` line in your torrc would override this, since this appears in the defaults torrc. Matt On 7/29/20 1:09 PM, Keifer Bly wrote:
Hello,
So I am trying to view the tor log file (for how much traffic was sent, etc) on my relay since start? I am trying using the “less /var/log/tor/torrc.txt” command but this only shows a blank screen with the word END and nothing else on Debian Linux.
Thanks very much.
--Keifer
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon> Virus-free. www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
_______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays

Hey so upon running the command Matt suggested, this is the return: It says there are no logs to display. Thanks. Wonder how else to do it? --Keifer On Wed, Jul 29, 2020 at 10:15 AM Matt Traudt <pastly@torproject.org> wrote:
Assuming you didn't add any `Log` lines to the torrc and assuming you are using the `default` tor instance,
journalctl -eu tor@default
-e to jump to the end -u to specify the unit, tor@default
Logs end up here by default because /usr/share/tor/tor-service-defaults-torrc has `Log notice syslog`. I think (but don't know for sure) adding a `Log` line in your torrc would override this, since this appears in the defaults torrc.
Matt
On 7/29/20 1:09 PM, Keifer Bly wrote:
Hello,
So I am trying to view the tor log file (for how much traffic was sent, etc) on my relay since start? I am trying using the “less /var/log/tor/torrc.txt” command but this only shows a blank screen with the word END and nothing else on Debian Linux.
Thanks very much.
--Keifer
< https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaig...
Virus-free. www.avast.com < https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaig...
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
_______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
_______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays

hi Keifer, some options: tor is not running as the default instance (This is what Matt allready said in his mail, for example because you use something like ansible rules to set it up), you could try using: sudo journalctl -eu tor* on debian the logging from tor is in some cases put in /var/log/syslog (this depends on how you have installed tor, again, if you used ansible rules to setup tor this could be the case). So if you edit this file you can find the relevant tor line items. There are lots of other options to look at syslog, simple way to start could be: cd /var/log more syslog | grep Tor (this shows only line items from syslog that contain 'Tor' in it) or sudo more syslog | grep Tor (depends on the account you are using) gr. Paul On Thu, Jul 30, 2020 at 8:38 AM Keifer Bly <keifer.bly@gmail.com> wrote:
Hey so upon running the command Matt suggested, this is the return:
It says there are no logs to display. Thanks. Wonder how else to do it? --Keifer
On Wed, Jul 29, 2020 at 10:15 AM Matt Traudt <pastly@torproject.org> wrote:
Assuming you didn't add any `Log` lines to the torrc and assuming you are using the `default` tor instance,
journalctl -eu tor@default
-e to jump to the end -u to specify the unit, tor@default
Logs end up here by default because /usr/share/tor/tor-service-defaults-torrc has `Log notice syslog`. I think (but don't know for sure) adding a `Log` line in your torrc would override this, since this appears in the defaults torrc.
Matt
On 7/29/20 1:09 PM, Keifer Bly wrote:
Hello,
So I am trying to view the tor log file (for how much traffic was sent, etc) on my relay since start? I am trying using the “less /var/log/tor/torrc.txt” command but this only shows a blank screen with the word END and nothing else on Debian Linux.
Thanks very much.
--Keifer
< https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaig...
Virus-free. www.avast.com < https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaig...
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
_______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
_______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
_______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays

Thanks all. Sorry I am having trouble seeing responses due to the spam coming across again. --Keifer On Thu, Jul 30, 2020 at 11:28 AM Paul Geurts <paulus@pollekeg.com> wrote:
hi Keifer,
some options:
tor is not running as the default instance (This is what Matt allready said in his mail, for example because you use something like ansible rules to set it up), you could try using: sudo journalctl -eu tor*
on debian the logging from tor is in some cases put in /var/log/syslog (this depends on how you have installed tor, again, if you used ansible rules to setup tor this could be the case). So if you edit this file you can find the relevant tor line items. There are lots of other options to look at syslog, simple way to start could be:
cd /var/log more syslog | grep Tor (this shows only line items from syslog that contain 'Tor' in it)
or
sudo more syslog | grep Tor (depends on the account you are using)
gr. Paul
On Thu, Jul 30, 2020 at 8:38 AM Keifer Bly <keifer.bly@gmail.com> wrote:
Hey so upon running the command Matt suggested, this is the return:
It says there are no logs to display. Thanks. Wonder how else to do it? --Keifer
On Wed, Jul 29, 2020 at 10:15 AM Matt Traudt <pastly@torproject.org> wrote:
Assuming you didn't add any `Log` lines to the torrc and assuming you are using the `default` tor instance,
journalctl -eu tor@default
-e to jump to the end -u to specify the unit, tor@default
Logs end up here by default because /usr/share/tor/tor-service-defaults-torrc has `Log notice syslog`. I think (but don't know for sure) adding a `Log` line in your torrc would override this, since this appears in the defaults torrc.
Matt
On 7/29/20 1:09 PM, Keifer Bly wrote:
Hello,
So I am trying to view the tor log file (for how much traffic was sent, etc) on my relay since start? I am trying using the “less /var/log/tor/torrc.txt” command but this only shows a blank screen with the word END and nothing else on Debian Linux.
Thanks very much.
--Keifer
< https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaig...
Virus-free. www.avast.com < https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaig...
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
_______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
_______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
_______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
_______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays

On 31.07.2020 00:53, Keifer Bly wrote: If you don't work with the command line every day, it is very helpful to look at the server in the GUI in your file manager. With KDE in the file manager Konqueror or Dolphin: Select 'Add Network Folder' -> 'SSH' and select 'fish' protocol. You are safe connected like in the terminal. (SSH pubkey auth) In the file manager, your server appears like your local hd. So you can just look at everything and drag & drop files. It will look like that: http://www.boldsuck.mynetcologne.de/img/Network-folder.png To be able to view (almost all) log files as a $user, you have to add it to the group 'adm'. ~# usermod -aG adm user -- ╰_╯ Ciao Marco! Put the fun back into computing. Use Linux, *BSD.

Keifer Bly dijo [Wed, Jul 29, 2020 at 10:09:42AM -0700]:
Hello,
So I am trying to view the tor log file (for how much traffic was sent, etc) on my relay since start? I am trying using the “less /var/log/tor/torrc.txt” command but this only shows a blank screen with the word END and nothing else on Debian Linux.
Besides the tips others have shared with you, which are all very much to the point and correct, I also suggest you to try using nyx, a terminal-based status monitor for Tor relays. It has a very easy, informative user interface that shows you, over the time, the usage details of your relay -- Incoming/outgoing bandwidth (instantaneous and over a lapse of time), flags your relay has got, system health data, inbound/outbound connections, etc.

Thanks! --Keifer On Wed, Aug 5, 2020 at 11:16 PM Gunnar Wolf <gwolf@gwolf.org> wrote:
Keifer Bly dijo [Wed, Jul 29, 2020 at 10:09:42AM -0700]:
Hello,
So I am trying to view the tor log file (for how much traffic was sent, etc) on my relay since start? I am trying using the “less /var/log/tor/torrc.txt” command but this only shows a blank screen with the word END and nothing else on Debian Linux.
Besides the tips others have shared with you, which are all very much to the point and correct, I also suggest you to try using nyx, a terminal-based status monitor for Tor relays. It has a very easy, informative user interface that shows you, over the time, the usage details of your relay -- Incoming/outgoing bandwidth (instantaneous and over a lapse of time), flags your relay has got, system health data, inbound/outbound connections, etc. _______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
participants (6)
-
Gunnar Wolf
-
Keifer Bly
-
lists@for-privacy.net
-
Matt Traudt
-
Paul Geurts
-
Toralf Förster