]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Don't print file paths in fuzz logger as they can be very long
authorMatt Corallo <git@bluematt.me>
Fri, 18 Jun 2021 20:21:42 +0000 (20:21 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 23 Jun 2021 01:35:23 +0000 (01:35 +0000)
fuzz/src/utils/test_logger.rs

index 5046869c0a9abe1c92a0ee57d86a3f489081d760..f8c96f99bd1c8ddb9c1f9b28d8d7b5fbe67cc27b 100644 (file)
@@ -58,7 +58,7 @@ impl<'a, Out: Output> Write for LockedWriteAdapter<'a, Out> {
 impl<Out: Output> Logger for TestLogger<Out> {
        fn log(&self, record: &Record) {
                write!(LockedWriteAdapter(&self.out),
-                       "{:<5} {} [{} : {}, {}] {}\n", record.level.to_string(), self.id, record.module_path, record.file, record.line, record.args)
+                       "{:<5} {} [{} : {}] {}\n", record.level.to_string(), self.id, record.module_path, record.line, record.args)
                        .unwrap();
        }
 }