Use ndn-cxx logging facility

refs: #3949

Change-Id: I5d0931c3576c88e0c2fa52bdd0a716946400e0bc
diff --git a/wscript b/wscript
index 96f2980..76adf7a 100644
--- a/wscript
+++ b/wscript
@@ -52,16 +52,13 @@
     conf.check_cfg(package='libndn-cxx', args=['--cflags', '--libs'],
                    uselib_store='NDN_CXX', mandatory=True)
 
-    conf.check_cfg(package='liblog4cxx', args=['--cflags', '--libs'],
-                   uselib_store='LOG4CXX', mandatory=True)
-
-    boost_libs = 'system chrono program_options iostreams thread regex filesystem'
+    boost_libs = 'system chrono program_options iostreams thread regex filesystem log log_setup'
     if conf.options.with_tests:
         conf.env['WITH_TESTS'] = 1
         conf.define('WITH_TESTS', 1);
         boost_libs += ' unit_test_framework'
 
-    conf.check_boost(lib=boost_libs)
+    conf.check_boost(lib=boost_libs, mt=True)
 
     if conf.env.BOOST_VERSION_NUMBER < 104800:
         Logs.error("Minimum required boost version is 1.48.0")
@@ -103,7 +100,7 @@
         features='cxx',
         source=bld.path.ant_glob(['src/**/*.cpp'],
                                  excl=['src/main.cpp']),
-        use='NDN_CXX BOOST LOG4CXX SYNC',
+        use='NDN_CXX BOOST SYNC',
         includes='. src',
         export_includes='. src')