[tor-bugs] #12882 [Onionoo]: Logging Framework
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Aug 20 07:32:13 UTC 2014
#12882: Logging Framework
-----------------------------+----------------------
Reporter: iwakeh | Owner: iwakeh
Type: enhancement | Status: assigned
Priority: normal | Milestone:
Component: Onionoo | Version:
Resolution: | Keywords:
Actual Points: | Parent ID:
Points: |
-----------------------------+----------------------
Comment (by iwakeh):
Thanks, for this info!
I suggest the following:
* two different "sinks" (i.e. log files or 'appenders') for logging:
* the metrics part and
* the "real" logging info (i.e. errors, warnings and the like)
This is feasible with all three solutions above (even the older versions
in debian, afaik).
The actual log location and level should be configurable at runtime (in
tomcat) or
start time (for standalone).
I assume, you don't process the current logs automatically?
Thus, the formatting is important only insofar that the metric performance
log entries
should be as 'human readable' as they are know, but minor format changes
do not matter?
For the application logging part I suggest to start with identifying
errors and warnings
and very few if at all informational log entries. This keeps the initial
work for adding
log entries small.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/12882#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list