From 15c02da1a18d02265fea3e4cda245a520f30b914 Mon Sep 17 00:00:00 2001 From: Hrudaya Date: Thu, 20 Jul 2023 16:47:23 +0000 Subject: [PATCH] chore(snapshot): add success log for nexus create snapshot Signed-off-by: Hrudaya --- io-engine/src/grpc/v1/snapshot.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/io-engine/src/grpc/v1/snapshot.rs b/io-engine/src/grpc/v1/snapshot.rs index 99b18cabc..ceb12063b 100644 --- a/io-engine/src/grpc/v1/snapshot.rs +++ b/io-engine/src/grpc/v1/snapshot.rs @@ -312,7 +312,7 @@ impl SnapshotRpc for SnapshotService { let args = request.into_inner(); self.serialized(ctx, args.nexus_uuid.clone(), false, async move { - trace!("{:?}", args); + info!("{:?}", args); let rx = rpc_submit::<_, _, nexus::Error>(async move { let snapshot = SnapshotParams::new( Some(args.entity_id.clone()), @@ -339,7 +339,7 @@ impl SnapshotRpc for SnapshotService { .into_iter() .map(NexusCreateSnapshotReplicaStatus::from) .collect::>(); - + info!("Create Snapshot Success for {nexus:?}, {replicas_done:?}, replicas_skipped: {:?}", res.replicas_skipped); Ok(NexusCreateSnapshotResponse { nexus: Some(nexus.into_grpc().await), snapshot_timestamp: res