Update deubgging log macro
authorSung-jae Park <nicesj.park@samsung.com>
Thu, 27 Jun 2013 04:18:34 +0000 (13:18 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Thu, 27 Jun 2013 04:18:34 +0000 (13:18 +0900)
[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] Duplicated information is printed.
[cause] File, Function, Line is printed by DLOG automatically.
[solution] Remove File,Function,Line print part.
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: I41f625caa4ba250ceb41c2e09ba3b7b8b1fc353f

include/debug.h
src/lb.c

index e3fcd2a..03c08d6 100644 (file)
  * limitations under the License.
  */
 
-#define DbgPrint(format, arg...) SECURE_LOGD("[\e[32m%s/%s\e[0m:%d] " format, util_basename(__FILE__), __func__, __LINE__, ##arg)
+#define DbgPrint(format, arg...) SECURE_LOGD(format, ##arg)
 
-#define ErrPrint(format, arg...) SECURE_LOGE("[\e[32m%s/%s\e[0m:%d] \e[33m" format "\e[0m", util_basename(__FILE__), __func__, __LINE__, ##arg)
+#define ErrPrint(format, arg...) SECURE_LOGE(format, ##arg)
 
-#define WarnPrint(format, arg...) SECURE_LOGW("[\e[32m%s/%s\e[0m:%d] \e[34m" format "\e[0m", util_basename(__FILE__), __func__, __LINE__, ##arg)
+#define WarnPrint(format, arg...) SECURE_LOGW(format, ##arg)
 
 #define DbgFree(a) do { \
        free(a); \
index e5d6e6e..25cb140 100644 (file)
--- a/src/lb.c
+++ b/src/lb.c
@@ -493,7 +493,6 @@ static int file_updated_cb(const char *filename, void *data, int over)
                item->is_lb_updated++;
        }
 
-       DbgPrint("CONTENT %s is updated [%d]\n", filename, item->is_lb_updated);
        return output_handler(item);
 }