From 3389f19e601cf52d7920796effaca55f2f0fcf4a Mon Sep 17 00:00:00 2001 From: mat Date: Fri, 9 Sep 2022 22:58:14 -0500 Subject: cut off at 500 instead of 100 --- azalea-protocol/src/read.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azalea-protocol/src/read.rs b/azalea-protocol/src/read.rs index 1ed491af..2c749a61 100755 --- a/azalea-protocol/src/read.rs +++ b/azalea-protocol/src/read.rs @@ -203,8 +203,8 @@ where if log_enabled!(log::Level::Trace) { let buf_string: String = { - if buf.len() > 100 { - let cut_off_buf = &buf[..100]; + if buf.len() > 500 { + let cut_off_buf = &buf[..500]; format!("{cut_off_buf:?}...") } else { format!("{buf:?}") -- cgit v1.2.3