[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-relays] 0.2.4.20 logging duplicate messages



Roger Dingledine <arma@xxxxxxx> 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@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

Attachment: signature.asc
Description: PGP signature

_______________________________________________
tor-relays mailing list
tor-relays@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays