Skip to content

Commit

Permalink
fixed the buffer to make it a more reasonable size
Browse files Browse the repository at this point in the history
  • Loading branch information
toddaaro authored and thestinger committed Aug 3, 2013
1 parent eab749a commit 1f9c392
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/logging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1f9c392

Please sign in to comment.