[tor-commits] [obfsproxy/master] Fix first log line.

nickm at torproject.org nickm at torproject.org
Sat Feb 11 15:12:56 UTC 2012


commit fe50f9c7557719e4a7f31514e9f4e26bf84c13aa
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date:   Sat Feb 11 11:07:05 2012 +0100

    Fix first log line.
    
    The idea was to add a newline before the log line to separate runs.  But
    that doesn't work so well with timestamps and log severity written before
    the actual log message.  Taking out the newline.
---
 src/util.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/util.c b/src/util.c
index 9a86ad2..f2089df 100644
--- a/src/util.c
+++ b/src/util.c
@@ -450,7 +450,7 @@ log_set_method(int method, const char *filename)
   }
 
   logging_method = method;
-  log_info("\nStarting.");
+  log_info("Starting.");
 
   return 0;
 }



More information about the tor-commits mailing list