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

[tor-bugs] #25632 [Core Tor/Stem]: Improve stem torrc logging options for integration testing



#25632: Improve stem torrc logging options for integration testing
-------------------------------+--------------------
     Reporter:  dmr            |      Owner:  atagar
         Type:  enhancement    |     Status:  new
     Priority:  Medium         |  Milestone:
    Component:  Core Tor/Stem  |    Version:
     Severity:  Normal         |   Keywords:
Actual Points:                 |  Parent ID:
       Points:                 |   Reviewer:
      Sponsor:                 |
-------------------------------+--------------------
 As suggested by teor in #25631, utilizing the following options in torrc
 will improve logging for the purpose of integration testing in stem:
 * `ProtocolWarnings 1`
 * `SafeLogging 0`
 * `LogTimeGranularity 1`

 The former (`ProtocolWarnings 1`) should be used in general with a local
 test relay (i.e. during development, independent of integration testing),
 and the log `[warn]`ings surfaced automatically in integration tests,
 which I believe currently isn't the case. The `[warn]`ings should
 potentially be treated as test failures when emitted (with exception of
 tests that directly try to violate the protocol, and check that Tor
 responds as such).

 The latter two will help with debugging when a problem is encountered.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25632>
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