[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r9775: Put a platform string (e.g. "Linux i686") in the startup log (in tor/trunk: . src/or)
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] r9775: Put a platform string (e.g. "Linux i686") in the startup log (in tor/trunk: . src/or)
- From: arma@xxxxxxxx
- Date: Fri, 9 Mar 2007 03:56:40 -0500 (EST)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Fri, 09 Mar 2007 03:56:49 -0500
- Reply-to: or-talk@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
Author: arma
Date: 2007-03-09 03:56:39 -0500 (Fri, 09 Mar 2007)
New Revision: 9775
Modified:
tor/trunk/ChangeLog
tor/trunk/src/or/main.c
Log:
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.
Modified: tor/trunk/ChangeLog
===================================================================
--- tor/trunk/ChangeLog 2007-03-09 08:50:19 UTC (rev 9774)
+++ tor/trunk/ChangeLog 2007-03-09 08:56:39 UTC (rev 9775)
@@ -5,6 +5,9 @@
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.
Modified: tor/trunk/src/or/main.c
===================================================================
--- tor/trunk/src/or/main.c 2007-03-09 08:50:19 UTC (rev 9774)
+++ tor/trunk/src/or/main.c 2007-03-09 08:56:39 UTC (rev 9775)
@@ -1602,8 +1602,8 @@
/* 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.");