From 0814570099666fd344cad05a63f8c6a425648ef1 Mon Sep 17 00:00:00 2001 From: "sooyeon.kim" Date: Fri, 22 Dec 2017 19:34:39 +0900 Subject: [PATCH] Disable printing ttsd_data debug logs Change-Id: I1d7d7551c61bf6a0c2f4efb45f0ae063d26d0c89 Signed-off-by: sooyeon.kim (cherry picked from commit 2e4a27b132d379f2ea1af67788f838abb0dbcbb5) --- server/ttsd_data.cpp | 2 +- server/ttsd_main.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/server/ttsd_data.cpp b/server/ttsd_data.cpp index 5626e21..6c9e7f1 100644 --- a/server/ttsd_data.cpp +++ b/server/ttsd_data.cpp @@ -411,7 +411,7 @@ int ttsd_data_add_sound_data(int uid, sound_data_s* data) return TTSD_ERROR_OUT_OF_MEMORY; } - SLOG(LOG_ERROR, tts_tag(), "[DATA][%p] utt_id(%d), data(%p)", *iter, (*iter)->utt_id, (*iter)->data); + SLOG(LOG_ERROR, tts_tag(), "[DATA][%p] utt_id(%d), data(%p) data size(%d), type(%d)", *iter, (*iter)->utt_id, (*iter)->data, (*iter)->data_size, (*iter)->audio_type); #ifdef DATA_DEBUG __data_show_sound_list(index); diff --git a/server/ttsd_main.h b/server/ttsd_main.h index 41b7389..306e799 100644 --- a/server/ttsd_main.h +++ b/server/ttsd_main.h @@ -33,7 +33,6 @@ extern "C" { #endif /* for debug message */ -#define DATA_DEBUG #define ENGINE_AGENT_DEBUG typedef enum { -- 2.7.4