Skip to content

Commit 8eae3de

Browse files
logging
1 parent e777d53 commit 8eae3de

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

source/s3_meta_request.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1848,7 +1848,7 @@ static struct aws_s3_request_metrics *s_s3_request_finish_up_and_release_metrics
18481848
struct aws_s3_meta_request *meta_request) {
18491849

18501850
if (metrics != NULL) {
1851-
/* Request is done streaming the body, complete the metrics for the request now. */
1851+
/* Request is done streaming the body, the metrics for the request now. */
18521852

18531853
if (metrics->time_metrics.end_timestamp_ns == -1) {
18541854
aws_high_res_clock_get_ticks((uint64_t *)&metrics->time_metrics.end_timestamp_ns);
@@ -2413,7 +2413,7 @@ struct aws_s3_meta_request_poll_write_result aws_s3_meta_request_poll_write(
24132413
}
24142414
}
24152415

2416-
if (!illegal_usage_terminate_meta_request && !result.is_pending) {
2416+
if (!illegal_usage_terminate_meta_request) {
24172417
/* Copy as much data as we can into the buffer */
24182418
struct aws_byte_cursor processed_data =
24192419
aws_byte_buf_write_to_capacity(&meta_request->synced_data.async_write.buffered_data, &data);

source/s3_request_messages.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ struct aws_http_message *aws_s3_complete_multipart_message_new(
777777
goto error_clean_up;
778778
}
779779

780-
AWS_LOGF_TRACE(
780+
AWS_LOGF_DEBUG(
781781
AWS_LS_S3_GENERAL, "Payload for Complete MPU is:\n" PRInSTR "\n", AWS_BYTE_BUF_PRI(*body_buffer));
782782
aws_s3_message_util_assign_body(
783783
allocator, body_buffer, message, NULL /* checksum_config */, NULL /* out_checksum */);

0 commit comments

Comments
 (0)