[tor-bugs] #23243 [Metrics/Website]: Write a specification for Tor web server logs
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Nov 3 08:15:14 UTC 2017
#23243: Write a specification for Tor web server logs
-----------------------------+--------------------------------
Reporter: iwakeh | Owner: metrics-team
Type: enhancement | Status: needs_revision
Priority: Medium | Milestone:
Component: Metrics/Website | Version:
Severity: Normal | Resolution:
Keywords: metrics-2017 | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
-----------------------------+--------------------------------
Comment (by karsten):
Quick thought while reading an unrelated ticket: maybe we should change
the output file name format to `<physical-host>_<virtual-host>-access.log-
YYYYMMDD[.xz]` to stay closer to the expected input file name format
`<physical-host>/<virtual-host>-access.log-YYYYMMDD[.gz]`. I know that we
previously said that most people would want to sort by virtual host. But
this scheme is a lot easier to implement and will have potentially fewer
bugs, because we'll just have to cut off the input file name after
`-access.log` and prefix it with the parent directory name plus `_`. And
if somebody really just cares about one virtual host, they can easily grep
the list of files. End of random thought.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23243#comment:55>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list