mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 23:54:22 +01:00
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.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user