aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 3d5b144..92e1809 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -35,6 +35,7 @@ impl Plugin for TerminalDisplayPlugin {
let log_file = OpenOptions::new()
.write(true)
.create(true)
+ .truncate(true)
.open("debug.log")
.unwrap();
let file_layer = tracing_subscriber::fmt::Layer::new()