[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: archiver@seul.org
- Delivered-to: or-talk-outgoing@seul.org
- Delivered-to: or-talk@seul.org
- Delivery-date: Sun, 01 May 2005 02:15:45 -0400
- In-reply-to: <1114886344.22149.233084357@webmail.messagingengine.com>
- References: <1114868551.2421.233074556@webmail.messagingengine.com> <42738BE8.9070002@addicts.nl> <1114886344.22149.233084357@webmail.messagingengine.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
like this:
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.
--
http://www.eff.org/about/staff/#chris_palmer
Attachment:
pgpzplb0m5pjP.pgp
Description: PGP signature