From 0e62857841d03ac012a255ea03f08509c550f3d5 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Wed, 11 Sep 2013 16:32:53 -0400 Subject: A few logging changes. --- node/Node.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'node/Node.cpp') diff --git a/node/Node.cpp b/node/Node.cpp index 1286342d..07b5805e 100644 --- a/node/Node.cpp +++ b/node/Node.cpp @@ -305,7 +305,7 @@ Node::ReasonForTermination Node::run() _r->log = new Logger((_r->homePath + ZT_PATH_SEPARATOR_S + "node.log").c_str(),(const char *)0,131072); #endif - TRACE("initializing..."); + LOG("%s starting version %s",_r->identity.address().toString().c_str(),versionString()); // Create non-crypto PRNG right away in case other code in init wants to use it _r->prng = new CMWC4096(); @@ -425,8 +425,6 @@ Node::ReasonForTermination Node::run() uint64_t lastMulticastAnnounceAll = 0; long lastDelayDelta = 0; - LOG("%s starting version %s",_r->identity.address().toString().c_str(),versionString()); - while (impl->reasonForTermination == NODE_RUNNING) { uint64_t now = Utils::now(); bool resynchronize = false; -- cgit v1.2.3