Merge "Fix log characters" into tizen
[platform/core/uifw/tts.git] / common / tts_config_mgr.c
index b521b99..21ccd8a 100644 (file)
@@ -330,7 +330,7 @@ int __tts_config_mgr_select_lang(const char* engine_id, char** language, int* ty
 
 Eina_Bool tts_config_mgr_inotify_event_cb(void* data, Ecore_Fd_Handler *fd_handler)
 {
-       SLOG(LOG_DEBUG, tts_tag(), "===== Config changed callback event");
+       SLOG(LOG_DEBUG, tts_tag(), "@@@ Config changed callback event");
 
        int length;
        struct inotify_event event;
@@ -339,8 +339,7 @@ Eina_Bool tts_config_mgr_inotify_event_cb(void* data, Ecore_Fd_Handler *fd_handl
        length = read(g_config_fd_noti, &event, sizeof(struct inotify_event));
        if (0 > length) {
                SLOG(LOG_ERROR, tts_tag(), "[ERROR] Empty Inotify event");
-               SLOG(LOG_DEBUG, tts_tag(), "=====");
-               SLOG(LOG_DEBUG, tts_tag(), " ");
+               SLOG(LOG_DEBUG, tts_tag(), "@@@");
                return ECORE_CALLBACK_DONE;
        }
 
@@ -504,8 +503,7 @@ Eina_Bool tts_config_mgr_inotify_event_cb(void* data, Ecore_Fd_Handler *fd_handl
                SLOG(LOG_ERROR, tts_tag(), "[ERROR] Undefined event (0x%x)", event.mask);
        }
 
-       SLOG(LOG_DEBUG, tts_tag(), "=====");
-       SLOG(LOG_DEBUG, tts_tag(), " ");
+       SLOG(LOG_DEBUG, tts_tag(), "@@@");
 
        return ECORE_CALLBACK_PASS_ON;
 }
@@ -864,7 +862,7 @@ int __tts_config_mgr_get_engine_info()
 
 static Eina_Bool __tts_config_mgr_engine_config_inotify_event_callback(void* data, Ecore_Fd_Handler *fd_handler)
 {
-       SLOG(LOG_DEBUG, tts_tag(), "===== Engine config updated callback event");
+       SLOG(LOG_DEBUG, tts_tag(), "@@@ Engine config updated callback event");
 
        tts_engine_inotify_s *ino = (tts_engine_inotify_s *)data;
        int dir_fd = ino->dir_fd;
@@ -876,8 +874,7 @@ static Eina_Bool __tts_config_mgr_engine_config_inotify_event_callback(void* dat
        length = read(dir_fd, &event, sizeof(struct inotify_event));
        if (0 > length) {
                SLOG(LOG_ERROR, tts_tag(), "[ERROR] Empty Inotify event");
-               SLOG(LOG_DEBUG, tts_tag(), "=====");
-               SLOG(LOG_DEBUG, tts_tag(), " ");
+               SLOG(LOG_DEBUG, tts_tag(), "@@@");
                return ECORE_CALLBACK_DONE;
        }
 
@@ -932,8 +929,7 @@ static Eina_Bool __tts_config_mgr_engine_config_inotify_event_callback(void* dat
                SLOG(LOG_ERROR, tts_tag(), "[ERROR] Undefined event");
        }
 
-       SLOG(LOG_DEBUG, tts_tag(), "=====");
-       SLOG(LOG_DEBUG, tts_tag(), " ");
+       SLOG(LOG_DEBUG, tts_tag(), "@@@");
 
        return ECORE_CALLBACK_PASS_ON;
 }
@@ -1182,7 +1178,7 @@ int tts_config_mgr_initialize(int uid)
        }
 
        /* print daemon config */
-       SLOG(LOG_DEBUG, tts_tag(), "== TTS config ==");
+       SLOG(LOG_DEBUG, tts_tag(), "@@@ TTS config @@@");
        SECURE_SLOG(LOG_DEBUG, tts_tag(), " engine : %s", g_config_info->engine_id);
        SECURE_SLOG(LOG_DEBUG, tts_tag(), " setting : %s", g_config_info->setting);
        SECURE_SLOG(LOG_DEBUG, tts_tag(), " auto voice : %s", g_config_info->auto_voice ? "on" : "off");
@@ -1190,7 +1186,7 @@ int tts_config_mgr_initialize(int uid)
        SECURE_SLOG(LOG_DEBUG, tts_tag(), " voice type : %d", g_config_info->type);
        SECURE_SLOG(LOG_DEBUG, tts_tag(), " speech rate : %d", g_config_info->speech_rate);
        SECURE_SLOG(LOG_DEBUG, tts_tag(), " pitch : %d", g_config_info->pitch);
-       SLOG(LOG_DEBUG, tts_tag(), "=================");
+       SLOG(LOG_DEBUG, tts_tag(), "@@@@@");
 
        if (0 != __tts_config_mgr_register_config_event()) {
                SLOG(LOG_ERROR, tts_tag(), "[ERROR] Fail to register config event");