serverless / serverless-openwhisk

Adds Apache OpenWhisk support to the Serverless Framework!
http://openwhisk.org/
MIT License
143 stars 46 forks source link

Unable to get function logs on Adobe runtime Openwhisk #191

Open marcinczeczko opened 4 years ago

marcinczeczko commented 4 years ago

Probably it's related to the private nature of that Openwhisk instance I'm working on. However, the issue I'm facing is that I can't get logs for an action due to the following error. Seems that activations endpoint accepts limit in the range of 0 to 50, but sls sets limit 100.

Is there a way to overwrite/change that limit ?

sls logs -f hello -t

  Serverless Error ---------------------------------------

  Failed to retrieve activation logs due to error: GET https://adobeioruntime.net/api/v1/namespaces/_/activations?limit=100&docs=true Returned HTTP 400 (Bad Request) --> "The query parameter 'limit' was malformed:
  The value '100' is not in the range of 0 to 50 for activations."

  Get Support --------------------------------------------
     Docs:          docs.serverless.com
     Bugs:          github.com/serverless/serverless/issues
     Issues:        forum.serverless.com

  Your Environment Information ---------------------------
     Operating System:          darwin
     Node Version:              12.8.0
     Framework Version:         1.67.0
     Plugin Version:            3.6.0
     SDK Version:               2.3.0
     Components Version:        2.22.3