Opened 12 months ago

Last modified 12 months ago

#24542 new enhancement

Improve logging for Exonerator

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

Description

When looking at #24534 I noticed there is hardly any useful logging.
Both backend and web-frontend need better logging. The web-part has no logs so far and the logs of the backend consist mainly of one message, which should rather be on debug than info level:

INFO o.t.m.e.QueryServlet:315 Returned a database connection to the pool after 105 millis.

Child Tickets

Change History (1)

comment:1 Changed 12 months ago by karsten

Agreed, logging could be more useful. That's one of the reasons why I wrote this high-level specification of processes behind Tor Metrics which coincidentally covers ExoneraTor. Would you want to review that document and maybe send a new .md file saying what additional log statements we should write in those cases? It might help to lift this discussion to a conceptual level first, also as a means to unify how we're logging across code bases.

Note: See TracTickets for help on using tickets.