From 479434c8fe39db95816861192d60232661183213 Mon Sep 17 00:00:00 2001 From: john30 Date: Tue, 10 Feb 2015 22:04:26 +0100 Subject: [PATCH] append to log file --- src/lib/utils/log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/utils/log.cpp b/src/lib/utils/log.cpp index 2c021cdd..01effc08 100644 --- a/src/lib/utils/log.cpp +++ b/src/lib/utils/log.cpp @@ -91,7 +91,7 @@ bool setLogLevel(const char* level) bool setLogFile(const char* filename) { - FILE* newFile = fopen(filename, "w"); + FILE* newFile = fopen(filename, "a"); if (newFile == NULL) return false;