Skip to content

Commit 84698a7

Browse files
toddaarobrson
authored andcommitted
fixed the buffer to make it a more reasonable size
1 parent b913547 commit 84698a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/logging.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ fn newsched_log_str(msg: ~str) {
8989
use container::Container;
9090

9191
// Truncate the string
92-
let buf_bytes = 2048;
92+
let buf_bytes = 256;
9393
let msg = if msg.len() > buf_bytes {
9494
msg.slice(0, buf_bytes) + "[...]"
9595
} else {

0 commit comments

Comments
 (0)