summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-09-11 16:32:53 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-09-11 16:32:53 -0400
commit0e62857841d03ac012a255ea03f08509c550f3d5 (patch)
tree4ed0f65136a780d9e77b1ede31bc0c3814292d4a
parent75471ee0e09f715a9c0961dd4b4787ddd258ce75 (diff)
downloadinfinitytier-0e62857841d03ac012a255ea03f08509c550f3d5.tar.gz
infinitytier-0e62857841d03ac012a255ea03f08509c550f3d5.zip
A few logging changes.
-rw-r--r--node/Network.cpp1
-rw-r--r--node/Node.cpp4
2 files changed, 1 insertions, 4 deletions
diff --git a/node/Network.cpp b/node/Network.cpp
index 058cce9c..d01eb295 100644
--- a/node/Network.cpp
+++ b/node/Network.cpp
@@ -178,7 +178,6 @@ void Network::setConfiguration(const Network::Config &conf)
Mutex::Lock _l(_lock);
try {
if (conf.networkId() == _id) { // sanity check
- //TRACE("network %.16llx got netconf:\n%s",(unsigned long long)_id,conf.toString().c_str());
_configuration = conf;
_myCertificate = conf.certificateOfMembership();
_mcRates = conf.multicastRates();
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;