[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: Logging to a file?
- To: or-talk@xxxxxxxxxxxxx
- Subject: Re: Logging to a file?
- From: Chris Palmer <chris@xxxxxxx>
- Date: Sat, 30 Apr 2005 22:56:25 -0700
- Delivered-to: email@example.com
- Delivered-to: firstname.lastname@example.org
- Delivered-to: email@example.com
- Delivery-date: Sun, 01 May 2005 02:15:45 -0400
- In-reply-to: <firstname.lastname@example.org>
- References: <email@example.com> <42738BE8.firstname.lastname@example.org> <email@example.com>
- Reply-to: or-talk@xxxxxxxxxxxxx
- Sender: owner-or-talk@xxxxxxxxxxxxx
- User-agent: Mutt/1.4.2i
Ron Davis writes:
> In the meantime, I uncommented "log notice syslog" in torrc and now
> Tor will indeed log to syslog ( /usr/log/messages ). I'd rather have
> that it would log to debug.log and notice.log though.
To log to a file, your Log configuration directive in torrc should look
Log warn file /home/chris/tor.log
Obviously, user chris can write to that file, and I run Tor as chris.
If you log via syslog, to get syslog to separate debugs from notices,
edit your /etc/syslog.conf as specified in the syslog.conf(5) man page.
Description: PGP signature