diff options
author | Florian Klink <flokli@flokli.de> | 2023-12-29T11·39+0100 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2023-12-29T14·37+0000 |
commit | 0af445c2f4fc274facf520bed2f00a048773604f (patch) | |
tree | 6e7ef879a2f9a4f76817cc55d3a8f0fffab6b62d /tvix | |
parent | f6c94430c8d71b95660ffff2ef621d2747a08cad (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')
-rw-r--r-- | tvix/store/src/bin/tvix-store.rs | 6 |
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 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<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) }) |