fix major problem

This commit is contained in:
Chayapak 2023-07-22 15:55:56 +07:00
parent 58f9a40cb2
commit 442cf9ba00

View file

@ -83,7 +83,7 @@ public class FileLoggerUtilities {
if (!Files.exists(logPath)) Files.createFile(logPath);
logWriter = Files.newBufferedWriter(logPath, StandardOpenOption.APPEND);
logWriter = Files.newBufferedWriter(logPath, StandardOpenOption.WRITE);
logWriter.write(currentLogDate.toString() + '\n');
logWriter.flush();
}