[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #21019 [Core Tor/Tor]: logging when onion backend fails



#21019: logging when onion backend fails
--------------------------+------------------------------------
 Reporter:  weasel        |          Owner:  dgoulet
     Type:  defect        |         Status:  needs_review
 Priority:  Medium        |      Milestone:  Tor: 0.3.0.x-final
Component:  Core Tor/Tor  |        Version:  Tor: 0.2.9.7-rc
 Severity:  Normal        |     Resolution:
 Keywords:  tor-hs        |  Actual Points:
Parent ID:                |         Points:  0.1
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------
Changes (by dgoulet):

 * status:  accepted => needs_review


Comment:

 Here is an attempt at this. Note that it will only log connection refused
 or timeout error on the service socket (and it's rate limited at 300
 seconds). The other reasons could mean lots of noise I believe at the warn
 level. So, it looks like this:

 {{{
 Jan 10 08:34:27.000 [warn] Onion service connection to 127.0.0.1:19171
 failed (connection refused)
 }}}

 See branch: `bug21019_030_01`

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21019#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs