2016-08-28 22:23:49 +02:00
|
|
|
From b5c843ea9c67d816e7fd64f89aced24fa356d3b0 Mon Sep 17 00:00:00 2001
|
2016-05-28 18:34:39 +02:00
|
|
|
From: Tux <write@imaginarycode.com>
|
|
|
|
Date: Sun, 14 Feb 2016 01:03:27 -0500
|
|
|
|
Subject: [PATCH] Reduce max log size to 8MB and don't append to existing log
|
|
|
|
files
|
|
|
|
|
|
|
|
|
2016-07-17 03:12:39 +02:00
|
|
|
diff --git a/log/src/main/java/net/md_5/bungee/log/BungeeLogger.java b/log/src/main/java/net/md_5/bungee/log/BungeeLogger.java
|
|
|
|
index 9598fff..2a2e0ed 100644
|
|
|
|
--- a/log/src/main/java/net/md_5/bungee/log/BungeeLogger.java
|
|
|
|
+++ b/log/src/main/java/net/md_5/bungee/log/BungeeLogger.java
|
2016-05-28 18:34:39 +02:00
|
|
|
@@ -27,7 +27,7 @@ public class BungeeLogger extends Logger
|
|
|
|
|
|
|
|
try
|
|
|
|
{
|
2016-07-17 03:12:39 +02:00
|
|
|
- FileHandler fileHandler = new FileHandler( filePattern, 1 << 24, 8, true );
|
|
|
|
+ FileHandler fileHandler = new FileHandler( filePattern, 1 << 23, 8, false );
|
2016-05-28 18:34:39 +02:00
|
|
|
fileHandler.setFormatter( formatter );
|
|
|
|
addHandler( fileHandler );
|
|
|
|
|
|
|
|
--
|
2016-08-28 22:23:49 +02:00
|
|
|
2.7.4
|
2016-05-28 18:34:39 +02:00
|
|
|
|