Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Tor Tor
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 325
    • Issues 325
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 30
    • Merge requests 30
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • Core
  • TorTor
  • Issues
  • #18248
Closed
Open
Issue created Feb 05, 2016 by Trac@tracbot

tor logging twice when --+Log argument and config are used

When specifying the Log option to the same place twice various messages will be logged twice.

Specifying

# On the command line:
--+Log notice file /var/log/tor

# In torrc:
Log notice file /var/log/tor

will result in messages like those:

Feb 05 11:05:41.000 [notice] Bootstrapped 0%: Starting
Feb 05 11:05:41.000 [notice] Bootstrapped 0%: Starting
Feb 05 11:05:54.000 [notice] Bootstrapped 80%: Connecting to the Tor network
Feb 05 11:05:54.000 [notice] Bootstrapped 80%: Connecting to the Tor network
Feb 05 11:05:54.000 [notice] Bootstrapped 85%: Finishing handshake with first hop
Feb 05 11:05:54.000 [notice] Bootstrapped 85%: Finishing handshake with first hop
Feb 05 11:05:54.000 [notice] Self-testing indicates your ORPort is reachable from the outside. Excellent.
Feb 05 11:05:54.000 [notice] Self-testing indicates your ORPort is reachable from the outside. Excellent.

In a way one could say that's expected, but I think equivalent options should maybe be deduplicated.

This occurs on: Tor v0.2.8.1-alpha (git-9093e376) running on FreeBSD with Libevent 2.0.22-stable, OpenSSL 1.0.2f and Zlib 1.2.8.

Trac:
Username: reezer

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking