projects
/
profile
/
ivi
/
dlt-daemon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
575fa86
)
Added flush in internal logging of dlt-daemon.
author
Alexander Wenzel
<Alexander.AW.Wenzel@bmw.de>
Thu, 10 Nov 2011 08:50:09 +0000
(09:50 +0100)
committer
Alexander Wenzel
<Alexander.AW.Wenzel@bmw.de>
Thu, 10 Nov 2011 08:50:09 +0000
(09:50 +0100)
src/shared/dlt_common.c
patch
|
blob
|
history
diff --git
a/src/shared/dlt_common.c
b/src/shared/dlt_common.c
index
bf363b7
..
fc6d49b
100755
(executable)
--- 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;
}