mirror of
http://gitea.winboll.cc/Studio/WinBoLL.git
synced 2026-06-29 13:30:00 +08:00
减少日志容量,优化日志调试时的显示速度。
This commit is contained in:
@@ -135,8 +135,8 @@ public class LogUtils {
|
||||
return;
|
||||
}
|
||||
|
||||
final long MAX_FILE_SIZE = 6291456L;
|
||||
final long KEEP_FILE_SIZE = 3145728L;
|
||||
final long KEEP_FILE_SIZE = 512000L; // 500K
|
||||
final long MAX_FILE_SIZE = 2*KEEP_FILE_SIZE;
|
||||
final long fileSize = _mfLogCatchFile.length();
|
||||
|
||||
if (fileSize <= MAX_FILE_SIZE) {
|
||||
|
||||
Reference in New Issue
Block a user