Improved OpenTelemetry tracing and logging (closes #297)
This commit is contained in:
@@ -98,11 +98,7 @@ async fn main() -> std::io::Result<()> {
|
||||
}
|
||||
|
||||
// Wait for shutdown signal
|
||||
wait_for_shutdown(&format!(
|
||||
"Shutting down Stalwart Mail Server v{}...",
|
||||
env!("CARGO_PKG_VERSION")
|
||||
))
|
||||
.await;
|
||||
wait_for_shutdown().await;
|
||||
|
||||
// Shutdown collector
|
||||
Collector::shutdown();
|
||||
|
||||
Reference in New Issue
Block a user