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

Commit

Permalink
Fix no line breaks in logs (#9355)
Browse files Browse the repository at this point in the history
  • Loading branch information
ascjones authored Aug 14, 2018
1 parent 29125e8 commit c21c19b
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit c21c19b

Please sign in to comment.