[tor-bugs] #9494 [Tor]: Log fix facility and lines

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Aug 18 03:24:16 UTC 2013


#9494: Log fix facility and lines
-----------------------+----------------------------------------------------
 Reporter:  grarpamp   |          Owner:                    
     Type:  defect     |         Status:  new               
 Priority:  minor      |      Milestone:  Tor: 0.2.5.x-final
Component:  Tor        |        Version:  Tor: 0.2.3.25     
 Keywords:  tor-relay  |         Parent:                    
   Points:             |   Actualpoints:                    
-----------------------+----------------------------------------------------

Comment(by grarpamp):

 These two deprecate 'warn' for not being per spec:
 freebsd: /usr/include/syslog.h
 linux: http://linux.die.net/man/5/syslog.conf
 http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/syslog.h.html
 http://pubs.opengroup.org/onlinepubs/9699919799/functions/syslog.html

 I never looked for a spec regarding syslog style head of line tagging.

 The -usr1 info format can be fixed.
 Nicely single line in syslog, but is far too wide, and domain=1 is missing
 (from all syslog).
 Multi line in stdout, only the first line is stamped (and optionally
 domain'ed).

 Before configured... very early on, sure, it could be harder to tweak.
 Though
 cmdline '--logdomains 1' produces no difference there at the moment.

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


More information about the tor-bugs mailing list