Browse Source

log: Flushing logs on each new entry

This is to speed up the python testing framework and should not have a
big impact on performance.
ppa-0.6.1
Christian Decker 8 years ago
parent
commit
091c2fc8f5
  1. 1
      daemon/log.c

1
daemon/log.c

@ -421,6 +421,7 @@ static void log_to_file(const char *prefix,
} else {
fprintf(logf, "%s \t%s\n", prefix, str);
}
fflush(logf);
}
static char *arg_log_to_file(const char *arg, struct log *log)

Loading…
Cancel
Save