Log binding ip and port
parent: tbd commit: 29408ae
Showing 1 changed file with 2 insertions and 0 deletions
giterated-daemon/src/main.rs
@@ -38,6 +38,8 @@ async fn main() -> Result<(), Error> { | ||
38 | 38 | text.parse()? |
39 | 39 | }; |
40 | 40 | let mut listener = TcpListener::bind(config["giterated"]["bind"].as_str().unwrap()).await?; |
41 | info!("Going to listen at {}", config["giterated"]["bind"].as_str().unwrap()); | |
42 | ||
41 | 43 | let db_conn_options = PgConnectOptions::new() |
42 | 44 | .host(config["postgres"]["host"].as_str().unwrap()) |
43 | 45 | .port(config["postgres"]["port"].as_integer().unwrap() as u16) |