[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #2362 [Tor Relay]: get-text always reports Log entry
#2362: get-text always reports Log entry
-----------------------+----------------------------------------------------
Reporter: atagar | Owner:
Type: defect | Status: new
Priority: minor | Milestone: Tor: 0.2.3.x-final
Component: Tor Relay | Version:
Keywords: | Parent:
-----------------------+----------------------------------------------------
Changes (by arma):
* milestone: => Tor: 0.2.3.x-final
Comment:
The trouble here is that logs are a linelist, so a controller that appends
a new log entry to the linelist will leave the old one around, and our
original behavior goal was to have the stdout log entry only when there
aren't any others.
Option one is to ignore it until a controller that uses Tor where stdout
is relevant actually wants to do this behavior of modifying log lines. Is
arm there yet, atagar?
Option two is to tag torrc options with "not for save" or something. Ugh.
Option three is to special-case a stdout log and not write it if it's the
only line and it wasn't explicitly asked for. Semi-ugh.
Option four is ...?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2362#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs