debugch: Fix logging
authorMunkyu Im <munkyu.im@samsung.com>
Fri, 4 Jul 2014 04:59:57 +0000 (13:59 +0900)
committerMunkyu Im <munkyu.im@samsung.com>
Wed, 9 Jul 2014 07:50:23 +0000 (16:50 +0900)
commitccbb0c7798f3b362fdc149232c3992f5cd4a2052
tree613aa5ee710ee34a9515a326061ff4fefe3d47f0
parent80692f5f7e032e285b095dd2090aa2868f8665ee
debugch: Fix logging

1. Fix not to append log always.
   When launch emulator, remove existing log data.
2. Not to call fopen() every logging time.
3. Not to call fopen() again, when fail logging.
   (case of deleting log file)
4. Remove unused functions.

Change-Id: If07b9909e26b293e7cafa7ae6f2bba17a61b5bf5
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
tizen/src/debug_ch.c
tizen/src/debug_ch.h
tizen/src/ecs/ecs_msg.c