On Tue 2017-01-31 07:53:12 -0500, Peter Palfrader wrote:
> On Thu, 26 Jan 2017, Daniel Kahn Gillmor wrote:
>
>> I've got a very tightly-configured machine running little but the
>> kernel and systemd and tor.  It uses journald and does not use any
>> traditional syslog.
>
> I think logging to /var/log/tor/log made sense historically, when we
> launched via sysV init script yet the default tor just wrote to stdout.
>
> I'm not averse to changing the default (unconditionally) to syslog for 3.x.

do you need a patch for this?  in src/or/config.c, it looks like it's
currently logging by default to stdout still:


  /* Special case on first boot if no Log options are given. */
  if (!options->Logs && !options->RunAsDaemon && !from_setconf) {
    if (quiet_level == 0)
        config_line_append(&options->Logs, "Log", "notice stdout");
    else if (quiet_level == 1)
        config_line_append(&options->Logs, "Log", "warn stdout");
  }


so i'm a little confused about how the debian package is defaulting to
/var/log/tor/log anyway :/

                 --dkg

Attachment: signature.asc
Description: PGP signature

Reply via email to