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

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Oct 24 10:17:33 UTC 2016


#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:                       |         Points:
 Reviewer:                       |        Sponsor:
---------------------------------+-----------------------------------

Comment (by karsten):

 Replying to [comment:1 iwakeh]:
 > The following should rather be info level, b/c this happens once in a
 while and doesn't constitute an error.  (and errors are mailed by the some
 logging frameworks.)
 >
 > {{{
 > 2016-10-21 17:35:20,640 CollecTor-Scheduled-Thread-7 ERROR
 org.torproject.descriptor.index.DescriptorIndexCollector Cannot fetch
 remote file: 2016-10-18-17-05-00-server-descriptors
 > java.io.FileNotFoundException: https://collector.torproject.org/recent
 /relay-descriptors/server-descriptors/2016-10-18-17-05-00-server-
 descriptors
 > }}}

 Good point.  I agree that this log message shouldn't be an error.  Though
 I'm not sure if info level is too quiet.  After all, if we cannot fetch a
 single file referenced from an `index.json`, that would be worth a
 warning.  Should I change this to a warning for now?  Or did you only want
 to bring this up as example and change levels later?

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


More information about the tor-bugs mailing list