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

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

     [ https://issues.apache.org/jira/browse/JCLOUDS-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Gaul resolved JCLOUDS-1143.
----------------------------------
       Resolution: Fixed
         Assignee: Andrew Gaul
    Fix Version/s: 2.0.0

> 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
>            Assignee: Andrew Gaul
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> 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)