Re-add the metrics port logging which was lost in the merge.

This commit is contained in:
Shane Handley 2019-10-26 09:05:57 +09:00 committed by timokoesters
parent 0fabe70960
commit f7cfcc5394
No known key found for this signature in database
GPG Key ID: CD80BE9AAEE78097

View File

@ -18,11 +18,13 @@ fn main() {
// Load settings
let settings = ServerSettings::load();
let metrics_port = &settings.metrics_address.port();
// Create server
let mut server = Server::new(settings).expect("Failed to create server instance!");
info!("Server is ready to accept connections");
info!("Metrics port: {}", metrics_port);
loop {
let events = server