[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #3550 [Tor Client]: --quiet flag doesn't prevent default log to stdout in options_validate()
#3550: --quiet flag doesn't prevent default log to stdout in options_validate()
------------------------+---------------------------------------------------
Reporter: atagar | Owner:
Type: defect | Status: needs_review
Priority: minor | Milestone: Tor: 0.2.3.x-final
Component: Tor Client | Version:
Keywords: | Parent:
Points: | Actualpoints:
------------------------+---------------------------------------------------
Changes (by nickm):
* status: new => needs_review
Comment:
The plot thickens: --quiet ''does'' seem to work with stuff like --list-
fingerprint and --hash-password.
A little poking shows that the log is added in options_init_logs(), when
it adds the log handler for the entry added in options_validate. It
doesn't look at the "quiet" value at all when it does this.
Easiest way to solve this AFAICT is to make the quiet level a global and
have it change the behavior of options_validate().
Have a look at branch bug3550 in my public repository?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/3550#comment:6>
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