diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-09-15 23:51:59 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-09-15 23:51:59 +1200 |
commit | c0dee47e03f0c27bc700d3893f57447eccc2e53c (patch) | |
tree | f755774953bccba629b29c3d6ca29fea5acbbdca /src/org/traccar | |
parent | 089e7262ab9395d0530c375b8f6cfcff35f45798 (diff) | |
download | traccar-server-c0dee47e03f0c27bc700d3893f57447eccc2e53c.tar.gz traccar-server-c0dee47e03f0c27bc700d3893f57447eccc2e53c.tar.bz2 traccar-server-c0dee47e03f0c27bc700d3893f57447eccc2e53c.zip |
Append logs instead of re-create
Diffstat (limited to 'src/org/traccar')
-rw-r--r-- | src/org/traccar/helper/Log.java | 2 |
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(); |