[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #19669 [Core Tor/Tor]: `log_prefix_` maybe getting weird output from strftime
#19669: `log_prefix_` maybe getting weird output from strftime
------------------------------+-----------------
Reporter: dcf | Owner:
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Core Tor/Tor | Version:
Severity: Minor | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
------------------------------+-----------------
#19408 purports to show tor log lines. The date format in them is really
strange:
{{{
6/13/2016 23:53:24 PM.700
6/13/2016 23:53:26 PM.200
6/14/2016 0:07:45 AM.200
6/14/2016 0:07:45 AM.200
}}}
There's a date string followed by a dot and three digits' worth of
fractional seconds. The format doesn't match what's specified in
`log_prefix_`, which is `"%b %d %H:%M:%S"`.
https://gitweb.torproject.org/tor.git/tree/src/common/log.c?id=tor-0.2.7.6#n221
I don't see how this can happen, but I thought some one in core tor might
want to take a look. Maybe the user has some kind of smart copy-paste
that's mangling dates.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/19669>
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