about summary refs log tree commit diff
path: root/tvix/store/src/bin/tvix-store.rs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-12-29T11·39+0100
committerclbot <clbot@tvl.fyi>2023-12-29T14·37+0000
commit0af445c2f4fc274facf520bed2f00a048773604f (patch)
tree6e7ef879a2f9a4f76817cc55d3a8f0fffab6b62d /tvix/store/src/bin/tvix-store.rs
parentf6c94430c8d71b95660ffff2ef621d2747a08cad (diff)
feat(tvix/store): emit more structured log messages r/7266
Change-Id: If4748cb800276fc42779ba8973d1eef72df0503e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10450
Reviewed-by: edef <edef@edef.eu>
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/store/src/bin/tvix-store.rs')
-rw-r--r--tvix/store/src/bin/tvix-store.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tvix/store/src/bin/tvix-store.rs b/tvix/store/src/bin/tvix-store.rs
index bf59366eb3..445515b9c0 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<dyn std::error::Error>> {
                 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<dyn std::error::Error>> {
                     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<dyn std::error::Error>> {
                     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)
             })