[tor-bugs] #2362 [Tor Relay]: get-text always reports Log entry
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Sat Jan 8 05:22:47 UTC 2011
#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
More information about the tor-bugs
mailing list