From 1f9c392389de3de5a65e825413ab9503549db56a Mon Sep 17 00:00:00 2001 From: toddaaro Date: Fri, 2 Aug 2013 16:53:04 -0700 Subject: [PATCH] fixed the buffer to make it a more reasonable size --- src/libstd/logging.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstd/logging.rs b/src/libstd/logging.rs index c53e7e82841..c662e5997af 100644 --- a/src/libstd/logging.rs +++ b/src/libstd/logging.rs @@ -89,7 +89,7 @@ fn newsched_log_str(msg: ~str) { use container::Container; // Truncate the string - let buf_bytes = 2048; + let buf_bytes = 256; let msg = if msg.len() > buf_bytes { msg.slice(0, buf_bytes) + "[...]" } else {