Merge "Fix log characters" into tizen accepted/tizen/unified/20170727.190608 submit/tizen/20170726.005622
authorsooyeon.kim <sooyeon.kim@samsung.com>
Tue, 25 Jul 2017 13:05:28 +0000 (13:05 +0000)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Tue, 25 Jul 2017 13:05:29 +0000 (13:05 +0000)
common/tts_config_mgr.c

index ba26a96..21ccd8a 100644 (file)
@@ -495,8 +495,12 @@ Eina_Bool tts_config_mgr_inotify_event_cb(void* data, Ecore_Fd_Handler *fd_handl
                        free(lang);
                        lang = NULL;
                }
+       } else if (IN_IGNORED == event.mask) {
+               SLOG(LOG_ERROR, tts_tag(), "[ERROR] IN_IGNORED event");
+               tts_parser_unload_config(g_config_info);
+               tts_parser_load_config(&g_config_info);
        } else {
-               SLOG(LOG_ERROR, tts_tag(), "[ERROR] Undefined event");
+               SLOG(LOG_ERROR, tts_tag(), "[ERROR] Undefined event (0x%x)", event.mask);
        }
 
        SLOG(LOG_DEBUG, tts_tag(), "@@@");