From d5d9ba55d97d872564e7e271f7ee6c73ec54031b Mon Sep 17 00:00:00 2001 From: Alexander Wenzel Date: Thu, 10 Nov 2011 09:50:09 +0100 Subject: Added flush in internal logging of dlt-daemon. --- src/shared/dlt_common.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/shared/dlt_common.c') diff --git a/src/shared/dlt_common.c b/src/shared/dlt_common.c index bf363b7..fc6d49b 100755 --- a/src/shared/dlt_common.c +++ b/src/shared/dlt_common.c @@ -2067,8 +2067,10 @@ int dlt_log(int prio, char *s) break; case 2: /* log to file */ - if(logging_handle) + if(logging_handle) { fprintf(logging_handle,logfmtstring, s); + fflush(logging_handle); + } break; } -- cgit v1.2.1