From c0dee47e03f0c27bc700d3893f57447eccc2e53c Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 15 Sep 2018 23:51:59 +1200 Subject: Append logs instead of re-create --- src/org/traccar/helper/Log.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/org') diff --git a/src/org/traccar/helper/Log.java b/src/org/traccar/helper/Log.java index 890026b0c..0e7eb64e8 100644 --- a/src/org/traccar/helper/Log.java +++ b/src/org/traccar/helper/Log.java @@ -63,7 +63,7 @@ public final class Log { } if (writer == null) { this.suffix = suffix; - writer = new BufferedWriter(new FileWriter(name)); + writer = new BufferedWriter(new FileWriter(name, true)); } writer.write(getFormatter().format(record)); writer.flush(); -- cgit v1.2.3