dlogutil : modify timeout when dlogutil decides to terminate 27/92927/3 accepted/tizen/3.0/ivi/20161028.133954 accepted/tizen/3.0/mobile/20161028.133111 accepted/tizen/3.0/tv/20161028.133415 accepted/tizen/3.0/wearable/20161028.133719 accepted/tizen/common/20161019.145845 accepted/tizen/ivi/20161019.142322 accepted/tizen/mobile/20161019.142236 accepted/tizen/tv/20161019.142253 accepted/tizen/wearable/20161019.142310 submit/tizen/20161019.111037 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.082423
authorKichan Kwon <k_c.kwon@samsung.com>
Wed, 19 Oct 2016 10:42:52 +0000 (19:42 +0900)
committerKichan Kwon <k_c.kwon@samsung.com>
Wed, 19 Oct 2016 11:01:55 +0000 (20:01 +0900)
commit57733c4761960ee289d2d79e0abbc8856f9c3a20
tree2c350a7ebf9449af954e8f9a475eceffe8c4bbda
parentffb57bb4df97aa08ed77152f61ab4047f9e42700
dlogutil : modify timeout when dlogutil decides to terminate

- When "-d" or "-t" option is applied, dlogutil is terminated
 after printing remainder in the buffer.

- However, if the time interval with current log and last log
 is less than timeout, current log can't be printed.

- Therefore, timeout should be zero after decision.

- In addition, to prevent the situation that dlogutil can't decide
 because of continuous logs, waiting timeout also be decreased.

Change-Id: Ia29d083c402263163573c58f33ce976a665e1070
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
src/logutil/logutil.c