[tor-bugs] #19016 [Metrics/CollecTor]: add shutdown hook

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Sep 5 19:08:30 UTC 2016


#19016: add shutdown hook
-------------------------------+---------------------------------
 Reporter:  iwakeh             |          Owner:  iwakeh
     Type:  enhancement        |         Status:  needs_review
 Priority:  Low                |      Milestone:  CollecTor 1.1.0
Component:  Metrics/CollecTor  |        Version:
 Severity:  Normal             |     Resolution:
 Keywords:  ctip               |  Actual Points:
Parent ID:                     |         Points:
 Reviewer:                     |        Sponsor:
-------------------------------+---------------------------------
Changes (by iwakeh):

 * status:  needs_information => needs_review


Comment:

 The shutdown hook that allows currently running modules to finish
 properly.
 Shutdown hook log statements are also printed to the console (by logback
 configuration) in order to indicate the shutdown process.

 Please review
 [https://gitweb.torproject.org/user/iwakeh/collector.git/commit/?h=task-19016
 -shutdown-hook&id=1b2ea2b499ac253fff4d6be18380b4430cbd39e6 this branch].


 (The coverage-check is failing with the current master; this is also
 corrected in the above branch.)

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


More information about the tor-bugs mailing list