Adjust printing logs 28/203828/2
authorHwankyu Jhun <h.jhun@samsung.com>
Thu, 18 Apr 2019 04:23:18 +0000 (13:23 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Thu, 18 Apr 2019 04:29:22 +0000 (13:29 +0900)
To check installed syspopup info while creating the binary, the tool prints
logs to the standard error stream.

Change-Id: Ic4c0a7100cb149bbce1f2a10df983259a7d9a848
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
tool/sp_initdb/src/syspopup_parser.c
tool/sp_initdb/src/syspopup_parser_db.c

index 1e74186..55f6b48 100644 (file)
@@ -353,6 +353,7 @@ int syspopup_parser_parse(const char *manifest, GList **syspopup_list)
        if (ret < 0)
                return -1;
 
+       fprintf(stderr, "Manifest: \"%s\"\n", manifest);
        doc = xmlParseFile(manifest);
        if (!doc) {
                _E("Failed to parse %s", manifest);
index 9a98dc6..babac88 100644 (file)
@@ -196,8 +196,9 @@ int syspopup_parser_db_insert(GList *syspopup_list)
 
                sqlite3_reset(stmt);
 
-               _I("syspopup name[%s] appid[%s] priority[%d] focus[%d] "
-                               "timeout[%d] term-action[%d] endkey-action[%d]",
+               fprintf(stderr, "syspopup name[%s] appid[%s] priority[%d] "
+                               "focus[%d] timeout[%d] term-action[%d] "
+                               "endkey-action[%d]\n",
                                info->name, info->appid, info->priority,
                                info->focus, info->timeout, info->term_action,
                                info->endkey_action);