mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 11:40:40 +00:00
Update PKLogHandler to append files
This commit is contained in:
parent
e5de032eb2
commit
39cc640f4a
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ import java.util.logging.Level;
|
||||||
public class PKLogHandler extends FileHandler {
|
public class PKLogHandler extends FileHandler {
|
||||||
|
|
||||||
public PKLogHandler(String filename) throws IOException {
|
public PKLogHandler(String filename) throws IOException {
|
||||||
super(filename);
|
super(filename, true);
|
||||||
this.setLevel(Level.WARNING);
|
this.setLevel(Level.WARNING);
|
||||||
this.setFilter(new ErrorLogFilter());
|
this.setFilter(new ErrorLogFilter());
|
||||||
this.setFormatter(new LogFormatter());
|
this.setFormatter(new LogFormatter());
|
||||||
|
|
Loading…
Reference in a new issue