From: Roger Dingledine Date: Fri, 9 Mar 2007 08:56:39 +0000 (+0000) Subject: Put a platform string (e.g. "Linux i686") in the startup log X-Git-Tag: tor-0.2.0.1-alpha~378 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fe94914b98725127a644b2a9718b15dbda72d5a9;p=thirdparty%2Ftor.git Put a platform string (e.g. "Linux i686") in the startup log message, so when people paste just their logs, we know if it's openbsd or windows or what. svn:r9775 --- diff --git a/ChangeLog b/ChangeLog index 6df74e8e59..a4923bcedd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ Changes in version 0.2.0.1-alpha - 2007-??-?? o Minor features (logging): - Always prepend "Bug: " to any log message about a bug. + - Put a platform string (e.g. "Linux i686") in the startup log + message, so when people paste just their logs, we know if it's + openbsd or windows or what. o Minor features (other): - More unit tests. diff --git a/src/or/main.c b/src/or/main.c index a30a8d7b67..6a1dbf5acd 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -1602,8 +1602,8 @@ tor_init(int argc, char *argv[]) /* give it somewhere to log to initially */ add_temp_log(); - log(LOG_NOTICE, LD_GENERAL, "Tor v%s. This is experimental software. " - "Do not rely on it for strong anonymity.",VERSION); + log(LOG_NOTICE, LD_GENERAL, "Tor v%s (%s). This is experimental software. " + "Do not rely on it for strong anonymity.",VERSION, get_uname()); if (network_init()<0) { log_err(LD_BUG,"Error initializing network; exiting.");