Skip to content

Commit a2fc819

Browse files
committed
feat(aggregator): add logs to snapshot uploaders
1 parent e71d930 commit a2fc819

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

mithril-aggregator/src/snapshot_uploaders/local_snapshot_uploader.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ impl SnapshotUploader for LocalSnapshotUploader {
5151
digest.unwrap()
5252
);
5353

54+
debug!(self.logger, "Snapshot 'uploaded' to local storage"; "location" => &location);
5455
Ok(location)
5556
}
5657
}

mithril-aggregator/src/snapshot_uploaders/remote_snapshot_uploader.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ impl SnapshotUploader for RemoteSnapshotUploader {
4848
)
4949
};
5050

51+
debug!(self.logger, "Uploading snapshot to remote storage"; "location" => &location);
5152
self.file_uploader.upload_file(snapshot_filepath).await?;
53+
debug!(self.logger, "Snapshot upload to remote storage completed"; "location" => &location);
5254

5355
Ok(location)
5456
}

0 commit comments

Comments
 (0)