chore: add name when starting server

This commit is contained in:
əlemi 2023-07-01 19:04:10 +02:00
parent 300ba39ba5
commit 0a29a293f5

View file

@ -33,7 +33,8 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
.with_max_level(if args.debug { tracing::Level::DEBUG } else { tracing::Level::INFO }) .with_max_level(if args.debug { tracing::Level::DEBUG } else { tracing::Level::INFO })
.init(); .init();
info!("binding server on {}", args.host); info!(">> codemp server");
info!("binding on {}", args.host);
Server::builder() Server::builder()
.add_service(BufferService::new().server()) .add_service(BufferService::new().server())