Fix no line breaks in logs (#9355)

This commit is contained in:
Andrew Jones 2018-08-14 18:10:51 +01:00 committed by GitHub
parent 29125e830b
commit c21c19bd6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);