Displaying 1 result from an estimated 1 matches for "e6ed3b4".
Did you mean:
68ed3b4
2018 Nov 08
1
[nbdkit PATCH] log: Allow user option of appending to log
...o use for logging. If the file
-already exists, it will be truncated.
+already exists, it will be truncated unless the C<logappend> parameter
+was specified with any non-empty value other than "0".
=head1 EXAMPLES
diff --git a/filters/log/log.c b/filters/log/log.c
index 2079084..e6ed3b4 100644
--- a/filters/log/log.c
+++ b/filters/log/log.c
@@ -43,6 +43,7 @@
#include <pthread.h>
#include <sys/time.h>
#include <assert.h>
+#include <stdbool.h>
#include <nbdkit-filter.h>
@@ -51,6 +52,7 @@
static uint64_t connections;
static char *logfilename;
st...