Opened 4 years ago

Closed 4 years ago

#17194 closed enhancement (implemented)

syslog identity tag

Reported by: weasel Owned by:
Priority: Medium Milestone: Tor: 0.2.8.x-final
Component: Core Tor/Tor Version: Tor: unspecified
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

When logging to syslog, tor currently sets "Tor" as the logging identity.

When running multiple instances, this can become confusing quickly. OpenVPN by default tags its log lines like this:

Sep 30 17:19:29 defiant daemon.notice ovpn-noreply2-buran[4801]: Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 3072 bit RSA
Sep 30 17:19:12 defiant daemon.notice ovpn-noreply2-axon[4812]: Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 3072 bit RSA
Sep 30 17:19:59 defiant daemon.notice ovpn-noreply2-intrepid[4800]: Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 3072 bit RSA
...

I propose that Tor add an option to similarly tag log entries.

Child Tickets

Attachments (2)

0001-Add-SyslogIdentityTag.patch (4.9 KB) - added by weasel 4 years ago.
0002-Document-syslog_identity_tag-for-add_syslog_log.patch (832 bytes) - added by weasel 4 years ago.

Download all attachments as: .zip

Change History (6)

Changed 4 years ago by weasel

comment:1 Changed 4 years ago by weasel

Status: newneeds_review

comment:2 Changed 4 years ago by nickm

Milestone: Tor: 0.2.8.x-final
Type: defectenhancement

comment:3 Changed 4 years ago by nickm

Merged! Also added 71e4649f02940806c8be2b8349aeb2029f2721a0 to disallow transitions while Tor is running.

comment:4 Changed 4 years ago by nickm

Resolution: implemented
Status: needs_reviewclosed
Note: See TracTickets for help on using tickets.