dlog label for debug cases is changed from _E to _D for BS 31/14931/2
authorTaeyoung Kim <ty317.kim@samsung.com>
Fri, 10 May 2013 07:26:33 +0000 (16:26 +0900)
committerKrzysztof Sasiak <k.sasiak@samsung.com>
Thu, 16 Jan 2014 10:38:46 +0000 (11:38 +0100)
Change-Id: Ibb530078de5fff405f1ab2c65534275890298194
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
src/bs/bs.c

index b0da07b..dbfdbf8 100644 (file)
@@ -85,7 +85,6 @@ static int make_noti_file(const char *path, const char *file)
        struct group *group_entry;
        mode_t old_mask;
 
-       _D("Make Noti File");
        snprintf(buf, sizeof(buf), "%s/%s", path, file);        /* buf - full path to file */
        if (access(buf, F_OK) == 0)                             /* if file exists then return -1 */
                return -1;
@@ -116,7 +115,6 @@ static int make_coredump_dir(void)
        gid_t group_id;
        struct group *group_entry;
 
-       _D("Make core dump directory");
        if (access(CRASH_COREDUMP_PATH, F_OK) == 0)                             /* if file exists then return -1 */
                return -1;
 
@@ -140,7 +138,6 @@ static int make_info_dir(void)
        gid_t group_id;
        struct group *group_entry;
 
-       _D("Make crash info directory");
        if (access(CRASH_INFO_PATH, F_OK) == 0)                         /* if file exists then return -1 */
                return -1;
 
@@ -178,7 +175,7 @@ static int clean_coredump_dir(void)
                        if ((name[1] == '.') && (name[2] == 0)) continue;
                }
                if (unlinkat(dfd, name, 0) < 0) {
-                       _E("clean_coredump_dir (%s)",name);
+                       _E("FAIL: clean_coredump_dir (%s)",name);
                        continue;
                }
        }
@@ -206,7 +203,7 @@ static int clean_dump_dir(void)
                        }
                        snprintf(dirname, sizeof(dirname), "%s/%s", CRASH_DUMP_PATH, name);
                        if (ecore_file_recursive_rm(dirname) == EINA_FALSE) {
-                               _E("clean_dump_dir (%s)",dirname);
+                               _E("FAIL: clean_dump_dir (%s)",dirname);
                                continue;
                        }
                }
@@ -234,7 +231,7 @@ static int clean_info_dir(void)
                        if ((name[1] == '.') && (name[2] == 0)) continue;
                }
                if (unlinkat(dfd, name, 0) < 0) {
-                       _E("clean_info_dir (%s)",name);
+                       _E("FAIL: clean_info_dir (%s)",name);
                        continue;
                }
        }
@@ -432,7 +429,6 @@ static void bs_init(void *data)
                _E("ecore_file_init() failed");
                launch_crash_worker(CRASH_NOTI_PATH, CRASH_POPUP_OFF);
        }
-
        crash_file_monitor = ecore_file_monitor_add(CRASH_NOTI_PATH,(void *) __crash_file_cb, NULL);
        if (!crash_file_monitor) {
                _E("ecore_file_monitor_add() failed");