diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/helperfuncs.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp index 7c3b8c3ea..c51a824a8 100644 --- a/src/helperfuncs.cpp +++ b/src/helperfuncs.cpp @@ -92,7 +92,10 @@ void do_log(int level, const char *text, ...) va_end(argsPtr); if (Config->writelog) + { fprintf(Config->log_file,"%s %s\n",TIMESTR,textbuffer); + fflush(Config->log_file); + } } if (Config->nofork) |