Opened 2 years ago

Closed 2 years ago

#26190 closed enhancement (fixed)

Use slf4j throughout all stats modules

Reported by: iwakeh Owned by: metrics-team
Priority: Medium Milestone:
Component: Metrics/Statistics Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: #27234 Points:
Reviewer: Sponsor:


Some modules, for example ipv6servers, use slf4j for logging, others, bad example hidserv, use System.err/out for logging.

Check all org.torproject.metrics.stats sub-packages and make them use slf4j.
Secondly, create an appropriate logback.xml file and adapt the run-java ant-task to use logback logging.

Child Tickets

Change History (2)

comment:1 Changed 2 years ago by karsten

Parent ID: #27234

This is partly resolved as part of #27234, where I fixed the System.err/out logging (without recalling that this ticket exists), and I just pushed another commit to the branch there to resolve the last part, which is logging in the legacy/servers module. Setting #27234 as parent ticket, so that we remember to close this ticket after merging those changes.

comment:2 Changed 2 years ago by karsten

Resolution: fixed
Status: newclosed

Merged as part of #27234. Closing.

Note: See TracTickets for help on using tickets.