From 8f3a34da33bf386c048790615ec1f63e89d22f6b Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Fri, 3 Jun 2022 12:26:51 +0200 Subject: Log on server startup --- src/server.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/server.rs') diff --git a/src/server.rs b/src/server.rs index fbeecc9..ba89111 100644 --- a/src/server.rs +++ b/src/server.rs @@ -130,13 +130,12 @@ impl Server { } pub async fn run(self: Self) -> Result<()> { + tracing::info!("Starting server on {:#}", self.incoming.local_addr); let server = ImapServer::new(self.incoming).serve(Instance::new(self.mailstore.clone())); let _ = server.await?; /*let creds = self.login_provider.login("quentin", "poupou").await?; - let mut mailbox = Mailbox::new(&creds, "TestMailbox".to_string()).await?; - mailbox.test().await?;*/ Ok(()) -- cgit v1.2.3