[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #33531 [Core Tor/Tor]: surprise newline in info-level cbt log



#33531: surprise newline in info-level cbt log
------------------------------+--------------------
     Reporter:  arma          |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------
 In circuit_expire_building() there is an info-level log that logs a \n
 character:

 {{{
          log_info(LD_CIRC,
 -                 "Deciding to count the timeout for circuit %"PRIu32"\n",
 +                 "Deciding to count the timeout for circuit %"PRIu32,
                   TO_ORIGIN_CIRCUIT(victim)->global_identifier);
 }}}

 the result is that I get strange blank lines in my log. I see them most
 obviously when I am doing
 {{{
 grep -v "\[info\]" /path/to/log-file|less
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33531>
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