diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-06-03 12:26:51 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-06-03 12:26:51 +0200 |
commit | 8f3a34da33bf386c048790615ec1f63e89d22f6b (patch) | |
tree | 69d8415839b4fe5458bf44f46fb6cd6087fe1720 | |
parent | 9c14e9cd9ebaa516e427cc9f43fc29e830032c12 (diff) | |
download | aerogramme-8f3a34da33bf386c048790615ec1f63e89d22f6b.tar.gz aerogramme-8f3a34da33bf386c048790615ec1f63e89d22f6b.zip |
Log on server startup
-rw-r--r-- | src/server.rs | 3 |
1 files changed, 1 insertions, 2 deletions
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(()) |