Where is the output for console.log of an action?
- Dominant language
- Scala
- Stars
- 6.8k
- Forks
- 1.2k
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 2
Description
Hi, sorry but I cannot find solution on the web for this problem. I'm using console.log in my node.js action as follows:
```
async function main(params) {
console.log('incoming request params:', params);
return {
headers: {
'Content-Type': 'application/json'
},
body: params,
statusCode: 200
}
}
```
But I cannot find the output of `console.log` if I use `wsk -I activation logs ` (even when the function failed). It always comes back as blank.
Contributor guide
Research direction
Start with the Node.js action shown in the issue and the `wsk -I activation logs ` command. Reproduce the invocation with both successful and failed actions, then trace how activation logs are exposed. Done means determining why the `console.log` output is blank and documenting or correcting the behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100