[tor-bugs] #23046 [Metrics/metrics-lib]: Add sub-interface LogDescriptor.LogLine (and the extension to WebServerAccessLogLine)

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jul 27 17:10:19 UTC 2017


#23046: Add sub-interface LogDescriptor.LogLine (and the extension to
WebServerAccessLogLine)
-------------------------------------+--------------------------
     Reporter:  iwakeh               |      Owner:  metrics-team
         Type:  enhancement          |     Status:  new
     Priority:  Medium               |  Milestone:
    Component:  Metrics/metrics-lib  |    Version:
     Severity:  Normal               |   Keywords:
Actual Points:                       |  Parent ID:
       Points:                       |   Reviewer:
      Sponsor:                       |
-------------------------------------+--------------------------
 Add sub-interface LogDescriptor.LogLine (and the extension to
 WebServerAccessLogLine), the first interface will simply provide one
 method that returns a line from the log.

 LogDescriptor will need to be extended to provide all LogLines, which
 includes sub-interface specific parsing and retrieving the unrecognized
 lines up to a limit (100 for a start).

 Sub-interface WebServerAccessLogLine, which extends LogLine, is more
 specific for access-logs and provides methods for all fields that contain
 useful data after the sanitation process, i.e., it doesn't provide all
 Apache log fields.
 (cf. discussion in #22983)

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


More information about the tor-bugs mailing list