Skip to content

Commit aa13870

Browse files
committed
feat: timestamp the shutdown message separately from the closing tag
1 parent c46b187 commit aa13870

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/logging.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,8 +537,10 @@ pub fn run_human_handler(rx: broadcast::Receiver<Event>) -> std::thread::JoinHan
537537
zone.redraw(&active_ids, &requests);
538538
}
539539
Event::Stopped => {
540+
let timestamp = Local::now().format("%H:%M:%S%.3f");
541+
zone.print_permanent(&format!("{timestamp} cu l8r"));
540542
zone.clear();
541-
println!("cu l8r </http-nu>");
543+
println!("</http-nu>");
542544
}
543545
Event::StopTimedOut => {
544546
zone.print_permanent("stop timed out, forcing exit");

0 commit comments

Comments
 (0)