aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-09-15 23:51:59 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-09-15 23:51:59 +1200
commitc0dee47e03f0c27bc700d3893f57447eccc2e53c (patch)
treef755774953bccba629b29c3d6ca29fea5acbbdca /src/org
parent089e7262ab9395d0530c375b8f6cfcff35f45798 (diff)
downloadtrackermap-server-c0dee47e03f0c27bc700d3893f57447eccc2e53c.tar.gz
trackermap-server-c0dee47e03f0c27bc700d3893f57447eccc2e53c.tar.bz2
trackermap-server-c0dee47e03f0c27bc700d3893f57447eccc2e53c.zip
Append logs instead of re-create
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/helper/Log.java2
1 files changed, 1 insertions, 1 deletions
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();