Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Fix no line breaks in logs #9355

Merged
merged 1 commit into from
Aug 14, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion logger/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ pub fn setup_log(config: &Config) -> Result<Arc<RotatingLogger>, String> {
println!("{}", ret);
}

write!(buf, "{}", ret)
writeln!(buf, "{}", ret)
};

builder.format(format);
Expand Down