Skip to content

Verbose Output even when ALLDATA is false #3

@danhanly

Description

@danhanly

I'm running this module through a queueing system. A controller action initialises the queue and adds a command onto it; this command is where the Shopify request is enacted.

When I view the queue logs, I'm faced with a verbose output as below:

*   Trying [IP]...
* Connected to [Store-Name].myshopify.com ([IP]) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384
* Server certificate: *.myshopify.com
* Server certificate: DigiCert SHA2 High Assurance Server CA
* Server certificate: DigiCert High Assurance EV Root CA
* Server auth using Basic with user '[Auth Token]'
> GET /admin/products.json HTTP/1.1
Authorization: [Auth Header]
User-Agent: RocketCode Shopify API Wrapper
Host: [Store-Name].myshopify.com
Accept-Encoding: deflate, gzip
Content-Type: application/json; charset=UTF-8
Accept: application/json
X-Shopify-Access-Token: [Access Token]

< HTTP/1.1 200 OK
* Server nginx is not blacklisted
< Server: nginx
< Date: Tue, 28 Apr 2015 08:23:10 GMT
< Content-Type: application/json; charset=utf-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< X-Sorting-Hat-PodId: 0
< X-Sorting-Hat-ShopId: 8394871
< X-Sorting-Hat-PodId-Cached: 0
< X-Sorting-Hat-ShopId-Cached: 0
< Vary: Accept-Encoding
< Status: 200 OK
< X-XSS-Protection: 1; mode=block; report=/xss-report/e8e38502-318e-452b-bad0-146106ccd3b1?source%5Baction%5D=index&source%5Bcontroller%5D=admin%2Fproducts&source%5Bsection%5D=admin
< X-Content-Type-Options: nosniff
< X-ShopId: 8394871
< X-ShardId: 0
< X-Shopify-Shop-Api-Call-Limit: 1/40
< HTTP_X_SHOPIFY_SHOP_API_CALL_LIMIT: 1/40
< X-Stats-UserId: 0
< X-Stats-ApiClientId: [API ID]
< X-Stats-ApiPermissionId: [API Permissions ID]
< X-Frame-Options: DENY
< Set-Cookie: _secure_admin_session_id=[Session ID]; path=/; secure; HttpOnly
< Set-Cookie: request_method=GET; path=/
< X-Request-Id: e8e38502-318e-452b-bad0-146106ccd3b1
< P3P: CP="NOI DSP COR NID ADMa OPTa OUR NOR"
< Content-Encoding: gzip
< X-Dc: ash

Surely this information should not be outputted unless ALLDATA is marked as true?

This wouldn't normally be a problem, but when I'm testing, it throws this whole output out in the middle of the integration tests which is overkill.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions