diff options
author | Alexander Wenzel <Alexander.AW.Wenzel@bmw.de> | 2011-11-10 09:50:09 +0100 |
---|---|---|
committer | Alexander Wenzel <Alexander.AW.Wenzel@bmw.de> | 2011-11-10 09:50:09 +0100 |
commit | d5d9ba55d97d872564e7e271f7ee6c73ec54031b (patch) | |
tree | 7bcafe381bc609fa01cc8dc9d8a2b82d9b31cf3a /src | |
parent | 575fa86ef3181e4ade5a6c341f86bb83558eca93 (diff) | |
download | DLT-daemon-d5d9ba55d97d872564e7e271f7ee6c73ec54031b.tar.gz |
Added flush in internal logging of dlt-daemon.
Diffstat (limited to 'src')
-rwxr-xr-x | src/shared/dlt_common.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; } |