[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #13386 [Core Tor/Tor]: "opening new log file" line goes to err-logfile despite being at loglevel notice (was: [notice] goes to err-logfile)
#13386: "opening new log file" line goes to err-logfile despite being at loglevel
notice
--------------------------+----------------------------------
Reporter: toralf | Owner:
Type: defect | Status: new
Priority: Low | Milestone: Tor: unspecified
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------+----------------------------------
Changes (by arma):
* cc: atagar (added)
* severity: => Normal
Comment:
To be clear, I think it is just that first log entry that goes there,
since we want to tag the log file with what Tor version we are, and
generate a line so people can know the log file is working. I think later
[notice] lines don't end up in the error-level log file.
Calling that line an [err] doesn't make much sense to me, since errs are
supposed to be things that prevented the Tor process from continuing.
And changing the format of log lines, e.g. by not putting a severity on
this one, will confuse anything that tries to parse the log lines.
I guess I could see us changing that first line from
{{{
Nov 08 20:15:13.065 [notice] Tor 0.3.0.0-alpha-dev (git-25f53955f6d4fd85)
opening new log file.
}}}
to something like
{{{
# Opening new log file at Nov 08 20:15:13.065. Tor 0.3.0.0-alpha-dev (git-
25f53955f6d4fd85).
}}}
Damian, you're one of the people who tries to parse lines from the log
files. What would you want here?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13386#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs