[tor-bugs] #25355 [Core Tor/Tor]: Add option to set the facility of the syslog log backend dynamically

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Apr 4 00:10:50 UTC 2018


#25355: Add option to set the facility of the syslog log backend dynamically
-------------------------------------------------+-------------------------
 Reporter:  ahf                                  |          Owner:  (none)
     Type:  enhancement                          |         Status:
                                                 |  needs_revision
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.3.4.x-final
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  review-group-34,                     |  Actual Points:
  034-triage-20180328                            |
Parent ID:                                       |         Points:
 Reviewer:  mikeperry                            |        Sponsor:
-------------------------------------------------+-------------------------
Changes (by catalyst):

 * status:  merge_ready => needs_revision


Comment:

 Replying to [comment:8 nickm]:
 > What standard does this conform to?  How sure are we that every syslog.h
 includes CODE and facilitynames?
 I share this concern about portability.  The `SYSLOG_NAMES` macro, along
 with `facilitynames` and the `CODE` structure, seems to be a Linux (and
 maybe also macOS?) thing.  POSIX says nothing about it.

 We should check our assumptions at configure time and have a fallback in
 case these features aren't available.

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


More information about the tor-bugs mailing list