[tor-relays] 0.2.4.20 logging duplicate messages

Fabian Keil freebsd-listen at fabiankeil.de
Tue Jan 28 11:16:41 UTC 2014


Roger Dingledine <arma at mit.edu> wrote:

> On Tue, Jan 28, 2014 at 03:10:57AM -0600, Scott Bennett wrote:
> >      Along with my recent OS upgrade I have also updated my tor relay from
> > 0.2.4.3-alpha to 0.2.4.20.  The latter version write two identical copies
> > of every message to the log file.  I have only one uncommented "Log " line
> > in my torrc, which is
> > 
> > Log notice file /var/log/tor/notices.log
> > 
> > but every single message is getting written to the file twice.
> 
> Which package did you install? If it was the deb, look at
> /usr/share/tor/tor-service-defaults-torrc
> (these are the default defaults, if you will).

I'm guessing FreeBSD in which case the culprit is probably the
rc script which enables notice logging by default:

fk at r500 ~ $grep Log /usr/jails/tor-jail/usr/local/etc/rc.d/tor 
command_args="-f ${tor_conf} --PidFile ${tor_pidfile} --RunAsDaemon 1 --DataDirectory ${tor_datadir} --+Log ${tor_loglevel}\ file\ ${tor_logfile}"

Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-relays/attachments/20140128/0c9393a2/attachment-0001.sig>


More information about the tor-relays mailing list