Skip to content

Commit 56c3bd1

Browse files
committed
refactor: update logs messages
1 parent 00e43ca commit 56c3bd1

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

src/console/profiling.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,8 @@ pub async fn run() {
189189
tracing::info!("Torrust timed shutdown..");
190190
},
191191
_ = tokio::signal::ctrl_c() => {
192-
tracing::info!("Torrust shutting down via Ctrl+C ...");
192+
tracing::info!("Torrust tracker shutting down via Ctrl+C ...");
193+
193194
// Await for all jobs to shutdown
194195
futures::future::join_all(jobs).await;
195196
}

src/main.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@ async fn main() {
77
// handle the signals
88
tokio::select! {
99
_ = tokio::signal::ctrl_c() => {
10-
tracing::info!("Torrust shutting down ...");
10+
tracing::info!("Torrust tracker shutting down ...");
1111

1212
// Await for all jobs to shutdown
1313
futures::future::join_all(jobs).await;
14-
tracing::info!("Torrust successfully shutdown.");
14+
15+
tracing::info!("Torrust tracker successfully shutdown.");
1516
}
1617
}
1718
}

0 commit comments

Comments
 (0)