Move log file to /var/log 89/84589/1 accepted/tizen/common/20160822.132702 accepted/tizen/ivi/20160823.041250 accepted/tizen/mobile/20160823.041100 accepted/tizen/tv/20160823.041158 accepted/tizen/wearable/20160823.041224 submit/tizen/20160822.012953 submit/tizen/20160822.045932
authorJaehyun Kim <jeik01.kim@samsung.com>
Fri, 19 Aug 2016 10:31:54 +0000 (19:31 +0900)
committerJaehyun Kim <jeik01.kim@samsung.com>
Fri, 19 Aug 2016 10:33:03 +0000 (19:33 +0900)
Change-Id: I2b304a8557e68dbcd372050c44e68d22341ad0f2

packaging/connman.spec
src/log.c

index b571e59..39690e6 100755 (executable)
@@ -4,7 +4,7 @@
 
 Name:           connman
 Version:        1.29
-Release:        15
+Release:        16
 License:        GPL-2.0+
 Summary:        Connection Manager
 Url:            http://connman.net
index ef0fe4f..1dbd41a 100755 (executable)
--- a/src/log.c
+++ b/src/log.c
@@ -42,9 +42,9 @@ static const char *program_path;
 #include <sys/stat.h>
 #include <sys/time.h>
 
-#define LOG_FILE_PATH "/opt/usr/data/network/connman.log"
+#define LOG_FILE_PATH "/var/log/connman.log"
 #define MAX_LOG_SIZE   1 * 1024 * 1024
-#define MAX_LOG_COUNT  3
+#define MAX_LOG_COUNT  1
 
 #define openlog __connman_log_open
 #define closelog __connman_log_close