[tor-bugs] #18922 [Metrics/CollecTor]: configure logging via properties file

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue May 10 10:32:12 UTC 2016


#18922: configure logging via properties file
-------------------------------+------------------------------
 Reporter:  iwakeh             |          Owner:  iwakeh
     Type:  defect             |         Status:  needs_review
 Priority:  Medium             |      Milestone:
Component:  Metrics/CollecTor  |        Version:
 Severity:  Normal             |     Resolution:
 Keywords:  ctip operation     |  Actual Points:
Parent ID:                     |         Points:
 Reviewer:                     |        Sponsor:
-------------------------------+------------------------------
Changes (by iwakeh):

 * status:  new => needs_review


Comment:

 I replaced the hard-coded logging config by configuration via with
 logging.properties;
 shell scripts are adapted to only having to change one location;
 and a hint about how to configure logging in even more detail is added to
 `run-all`.
 The default is to log into one log file; changes can be made by
 configuration now.

 Please review
 [https://gitweb.torproject.org/user/iwakeh/collector.git/commit/?h=task-18922&id=f85683536bb0918f449387bf73f02385a3495bb5
 branch task-18922].

 The logging replacement (i.e. logback, slf4j, etc) will be discussed and
 implemented in a different ticket (# to be added when available).

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


More information about the tor-bugs mailing list