Improved OpenTelemetry tracing and logging (closes #297)

This commit is contained in:
mdecimus
2024-07-31 20:00:34 +02:00
parent 9840494094
commit 87f9736605
23 changed files with 1767 additions and 239 deletions

View File

@@ -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();