mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Re-add the metrics port logging which was lost in the merge.
This commit is contained in:
parent
0fabe70960
commit
f7cfcc5394
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user