From e361b1654fefd1a563a82d335795f94b794b4873 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Tue, 20 Nov 2018 14:06:54 +0800
Subject: [PATCH] move configure parser source code to etc folder, and set default log file to /tmp

---
 src/nbiotd/iotd.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/nbiotd/iotd.c b/src/nbiotd/iotd.c
index 061618d..977b0e0 100644
--- a/src/nbiotd/iotd.c
+++ b/src/nbiotd/iotd.c
@@ -139,6 +139,7 @@
         printf("Logger initialize failure with file: %s\n", logger->file);
         return -1;
     }
+    log_nrml("Init default logger file \"%s\" ok\n", log_file);
 
     /*  Parser configure file and start the initialize log */
     rv = parser_iotd_conf(conf_file, conf);

--
Gitblit v1.9.1