You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Stephen Tomkinson (JIRA)" <ji...@apache.org> on 2016/07/18 10:11:20 UTC

[jira] [Created] (JCLOUDS-1143) AWSv4SignerBase fails to log canonicalRequest

Stephen Tomkinson created JCLOUDS-1143:
------------------------------------------

             Summary: AWSv4SignerBase fails to log canonicalRequest
                 Key: JCLOUDS-1143
                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1143
             Project: jclouds
          Issue Type: Bug
          Components: jclouds-blobstore
    Affects Versions: 2.0.0
            Reporter: Stephen Tomkinson
            Priority: Minor


The logging of the "canonical request" for AWS v4 signing of S3 requests currently omits the canonical request string itself. The cause appears to be line 403 (https://github.com/apache/jclouds/blob/18cba94fab010152f00396439c3d1a8bfd9d7681/apis/s3/src/main/java/org/jclouds/s3/filters/Aws4SignerBase.java#L403) which is using a templated logging call, but passes a logging message String without template placeholders.

Elsewhere, String concatenation is used - e.g. https://github.com/apache/jclouds/blob/18cba94fab010152f00396439c3d1a8bfd9d7681/apis/s3/src/main/java/org/jclouds/s3/filters/Aws4SignerForChunkedUpload.java#L191



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)