Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
T
Tor
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,069
    • Issues 1,069
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 20
    • Merge Requests 20
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • The Tor Project
  • Core
  • Tor
  • Issues
  • #2362

Closed
Open
Opened Jan 07, 2011 by Damian Johnson@atagar

"GETINFO config-text" adds spurious DataDirectory, Log entries

Repro steps:

  • use a blank torrc (just setting the ControlPort)
  • run tor
  • issue a GETINFO get-text

result: it provides a 'Log notice stdout' entry expected: we should only get back entries that differ from their defaults (in this case only the ControlPort)

from irc: 15:03 < armadev> atagar: it is a tor bug, i believe. i just reproduced. 15:03 < atagar> ok, I'll file a ticket - thanks :) 15:04 < armadev> if (smartlist_len(elts) == 0) 15:04 < armadev> smartlist_add(elts, tor_strdup("stdout")); 15:04 < armadev> in options_init_logs() 15:04 < armadev> that's where it comes from. we add it if there are no other logs. 15:04 < armadev> hmmmm. no, i take that back. 15:05 < armadev> /* Special case on first boot if no Log options are given. */ 15:05 < armadev> if (!options->Logs && !options->RunAsDaemon && !from_setconf) 15:05 < armadev> config_line_append(&options->Logs, "Log", "notice stdout"); 15:05 < armadev> there we go.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: tpo/core/tor#2362