[tor-bugs] #4092 [arm]: Arm should recognise similar Tor log entries and treat them as duplicates

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sat Sep 24 20:53:16 UTC 2011


#4092: Arm should recognise similar Tor log entries and treat them as duplicates
-----------------------------+----------------------------------------------
    Reporter:  StrangeCharm  |       Owner:  atagar
        Type:  enhancement   |      Status:  closed
    Priority:  minor         |   Milestone:        
   Component:  arm           |     Version:        
  Resolution:  worksforme    |    Keywords:        
      Parent:                |      Points:        
Actualpoints:                |  
-----------------------------+----------------------------------------------
Changes (by atagar):

  * status:  new => closed
  * resolution:  => worksforme


Comment:

 Hi, as we discussed via irc a few months back arm *does* do this. The log
 snippets that it uses for deduplication are the "msg.*" entries in
 src/settings.cfg. For examples...

 251 # Snippets from common log messages
 252 # These are static bits of log messages, used to determine when
 entries with
 253 # dynamic content (hostnames, numbers, etc) are the same. If this
 matches the
 254 # start of both messages then the entries are flagged as duplicates.
 If the
 255 # entry begins with an asterisk (*) then it checks if the substrings
 exist
 256 # anywhere in the messages.
 ...
 304 msg.BW READ:
 305 msg.DEBUG connection_handle_write(): After TLS write of
 306 msg.DEBUG flush_chunk_tls(): flushed
 307 msg.DEBUG conn_read_callback(): socket
 308 msg.DEBUG conn_write_callback(): socket
 ... etc

 This currently just includes the messages that bugged me. If there's log
 entries that you'd like to include then feel free to submit a patch (don't
 forget to include an example of the full message in the comment above).

 Cheers! -Damian

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


More information about the tor-bugs mailing list