forked from ChomeNS/chomens-bot-java
fix major problem
This commit is contained in:
parent
58f9a40cb2
commit
442cf9ba00
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue