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/etc/iotd_conf.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/nbiotd/core/iotd_conf.h b/src/nbiotd/etc/iotd_conf.h
similarity index 97%
rename from src/nbiotd/core/iotd_conf.h
rename to src/nbiotd/etc/iotd_conf.h
index 7445b7e..888f568 100644
--- a/src/nbiotd/core/iotd_conf.h
+++ b/src/nbiotd/etc/iotd_conf.h
@@ -24,7 +24,7 @@
 #define FILEN_LEN              64
 #endif
 
-#define DEF_LOG_FILE         "/var/log/iotd.log"
+#define DEF_LOG_FILE         "/tmp/iotd.log"
 #define DEF_LOG_LEVEL        LOG_LEVEL_NRML
 
 typedef struct lora_conf_s 

--
Gitblit v1.9.1