[tor-bugs] #20430 [Metrics/metrics-lib]: log-level definition for metrics-lib

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Feb 13 16:57:36 UTC 2017


#20430: log-level definition for metrics-lib
---------------------------------+-----------------------------------
 Reporter:  iwakeh               |          Owner:  karsten
     Type:  enhancement          |         Status:  new
 Priority:  Medium               |      Milestone:  metrics-lib 1.6.0
Component:  Metrics/metrics-lib  |        Version:
 Severity:  Normal               |     Resolution:
 Keywords:                       |  Actual Points:
Parent ID:  #20540               |         Points:
 Reviewer:                       |        Sponsor:
---------------------------------+-----------------------------------

Comment (by iwakeh):

 I see this ticket as reminder to apply the
 [https://trac.torproject.org/projects/tor/wiki/org/teams/MetricsTeam/MetricsJavaStyleGuide#Logging
 log-level scheme] we derived in #20540 to all of metrics-lib.

 That is these steps:
 * check current logging and turn any leftover printStackTrace into logging
 or throw an Exception
 * check Exceptions thrown, if the reason rather should be logged and not
 thrown
 * maybe, identify issues worth logging
 and the hidden task of verifying the description of the logging scheme,
 i.e., if it makes sense and is a usable guideline for metrics-lib.

 In total rather a task of spending a fixed amount of time to verify these
 things, not a blocker to the release.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20430#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list