From 85b650048d7ab67fc56dfff940f69b6bd86e4150 Mon Sep 17 00:00:00 2001 From: Niklas Fiekas Date: Tue, 6 Mar 2018 20:37:18 +0100 Subject: [PATCH] give a url in the log when starting --- src/server/srv.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/server/srv.rs b/src/server/srv.rs index e219049ba..33a7e432a 100644 --- a/src/server/srv.rs +++ b/src/server/srv.rs @@ -281,7 +281,7 @@ impl HttpServer // start acceptors threads for (addr, sock) in addrs { - info!("Starting http server on {}", addr); + info!("Starting server on http://{}", addr); self.accept.push( start_accept_thread(sock, addr, self.backlog, workers.clone())); } @@ -343,7 +343,7 @@ impl HttpServer // start acceptors threads for (addr, sock) in addrs { - info!("Starting tls http server on {}", addr); + info!("Starting server on https://{}", addr); self.accept.push( start_accept_thread(sock, addr, self.backlog, workers.clone())); } @@ -387,7 +387,7 @@ impl HttpServer // start acceptors threads for (addr, sock) in addrs { - info!("Starting tls http server on {}", addr); + info!("Starting server on https://{}", addr); self.accept.push( start_accept_thread(sock, addr, self.backlog, workers.clone())); } @@ -420,7 +420,7 @@ impl HttpServer // start acceptors threads for (addr, sock) in addrs { - info!("Starting http server on {}", addr); + info!("Starting server on http://{}", addr); self.accept.push( start_accept_thread(sock, addr, self.backlog, workers.clone())); }