diff --git a/scenarios/s3longevity.js b/scenarios/s3longevity.js index 1f6f8c1..6a30df1 100644 --- a/scenarios/s3longevity.js +++ b/scenarios/s3longevity.js @@ -186,10 +186,12 @@ export function obj_read() { } const resp = s3_client.get(obj.s3_bucket, obj.s3_key) if (!resp.success) { - log.withFields({bucket : obj.s3_bucket, key : obj.s3_key}) + log.withFields({bucket : obj.s3_bucket, key : obj.s3_key, status: obj.status, op: `READ`}) .error(resp.error); } else { obj_registry.setObjectStatus(obj.id, obj.status, "read"); + log.withFields({bucket : obj.s3_bucket, key : obj.s3_key}) + .info("read successfully"); } return