From 0af445c2f4fc274facf520bed2f00a048773604f Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Fri, 29 Dec 2023 12:39:38 +0100 Subject: feat(tvix/store): emit more structured log messages Change-Id: If4748cb800276fc42779ba8973d1eef72df0503e Reviewed-on: https://cl.tvl.fyi/c/depot/+/10450 Reviewed-by: edef Autosubmit: flokli Tested-by: BuildkiteCI --- tvix/store/src/bin/tvix-store.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tvix/store/src') diff --git a/tvix/store/src/bin/tvix-store.rs b/tvix/store/src/bin/tvix-store.rs index bf59366eb34e..445515b9c08f 100644 --- a/tvix/store/src/bin/tvix-store.rs +++ b/tvix/store/src/bin/tvix-store.rs @@ -232,7 +232,7 @@ async fn main() -> Result<(), Box> { router = router.add_service(reflection_svc); } - info!("tvix-store listening on {}", listen_address); + info!(listen_address=%listen_address, "starting daemon"); let listener = Listener::bind( &listen_address, @@ -371,7 +371,7 @@ async fn main() -> Result<(), Box> { path_info_service, list_root, ); - info!("mounting tvix-store on {:?}", &dest); + info!(mount_path=?dest, "mounting"); FuseDaemon::new(fs, &dest, threads) }) @@ -415,7 +415,7 @@ async fn main() -> Result<(), Box> { path_info_service, list_root, ); - info!("starting tvix-store virtiofs daemon on {:?}", &socket); + info!(socket_path=?socket, "starting virtiofs-daemon"); start_virtiofs_daemon(fs, socket) }) -- cgit 1.4.1