core: change logging from environment variable to configuration file-based

GlobalConfigurationFixture uses unit-tests.conf to determine default
and module specific logging levels. Logging will gracefully default to
INFO if unit-tests.conf is not found. See unit-tests.conf.sample for a
sample configuration file.

refs: #1375, #1267

Change-Id: Ib0c4eb4149748e6658f94ef1afa23ddd3072c0fa
This commit is contained in:
Steve DiBenedetto committed 2014-03-31 20:46:51 -06:00
1 parent 51d242a281
commit bf6a93da4e
38 files changed
+793 -203

No files matched your search

+6
View File
@@ -6,6 +6,7 @@
#include "forwarder.hpp"
#include "available-strategies.hpp"
#include "core/logger.hpp"
namespace nfd {
@@ -26,6 +27,11 @@ Forwarder::Forwarder()
fw::installStrategies(*this);
}
Forwarder::~Forwarder()
{
}
void
Forwarder::onIncomingInterest(Face& inFace, const Interest& interest)
{