Skip to content

Commit ebe854e

Browse files
committed
logging
1 parent c725bad commit ebe854e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/examples/java/software/amazon/encryption/s3/examples/MultipartUploadExample.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ public static void LowLevelMultipartUpload() throws IOException {
9797
final InputStream partInputStream = new ByteArrayInputStream(outputStream.toByteArray());
9898

9999
// Upload all the different parts of the object
100+
System.out.println("uploading part no: " + uploadPartRequest.partNumber());
100101
UploadPartResponse uploadPartResult = v3Client.uploadPart(uploadPartRequest,
101102
RequestBody.fromInputStream(partInputStream, partInputStream.available()));
102103

src/main/java/software/amazon/encryption/s3/internal/CipherSubscriber.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ public class CipherSubscriber implements Subscriber<ByteBuffer> {
2525
private byte[] outputBuffer;
2626

2727
CipherSubscriber(Subscriber<? super ByteBuffer> wrappedSubscriber, Long contentLength, CryptographicMaterials materials, byte[] iv, boolean isLastPart) {
28+
System.out.println("Initializing CipherSubscriber");
2829
this.wrappedSubscriber = wrappedSubscriber;
2930
this.contentLength = contentLength;
3031
this.materials = materials;

0 commit comments

Comments
 (0)