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
This commit is contained in:
Roger Dingledine 2007-03-09 08:56:39 +00:00
parent e5eba1c95d
commit fe94914b98
2 changed files with 5 additions and 2 deletions

View File

@ -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.

View 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.");