]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Put a platform string (e.g. "Linux i686") in the startup log
authorRoger Dingledine <arma@torproject.org>
Fri, 9 Mar 2007 08:56:39 +0000 (08:56 +0000)
committerRoger Dingledine <arma@torproject.org>
Fri, 9 Mar 2007 08:56:39 +0000 (08:56 +0000)
message, so when people paste just their logs, we know if it's
openbsd or windows or what.

svn:r9775

ChangeLog
src/or/main.c

index 6df74e8e5923e41688618c0bd388c9da4c73c2c2..a4923bcedd8b6ddec0dad40263751720832317ef 100644 (file)
--- 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.
index a30a8d7b674dcbeb38f47c4d54cab1fff8ef2b6d..6a1dbf5acda5b2e9538a57323e0a46f19bc39357 100644 (file)
@@ -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.");