summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2011-11-10 09:50:09 +0100
committerAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2011-11-10 09:50:09 +0100
commitd5d9ba55d97d872564e7e271f7ee6c73ec54031b (patch)
tree7bcafe381bc609fa01cc8dc9d8a2b82d9b31cf3a /src
parent575fa86ef3181e4ade5a6c341f86bb83558eca93 (diff)
downloadDLT-daemon-d5d9ba55d97d872564e7e271f7ee6c73ec54031b.tar.gz
Added flush in internal logging of dlt-daemon.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/shared/dlt_common.c4
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;
}