Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

access CORE logger results from within an action?

Avatar

Avatar
Coach
MVP
ursboller
MVP

Likes

522 likes

Total Posts

1,020 posts

Correct Reply

256 solutions
Top badges earned
Coach
Contributor
Bedrock
Seeker
Springboard
View profile

Avatar
Coach
MVP
ursboller
MVP

Likes

522 likes

Total Posts

1,020 posts

Correct Reply

256 solutions
Top badges earned
Coach
Contributor
Bedrock
Seeker
Springboard
View profile
ursboller
MVP

28-09-2020

is there an option to access the results from the CORE logger from within an action? Basically access the data which can be fetched from console using "aio rt activation list/get" but within an action. Idea is to have an UI which displays the log results.
Currently I have written my own logger which stores some basic debug information within a file in aio-lib-files but it would be more flexibel and future-proof if I could access the CORE logger directly.
Here is a screenshot from my own logger which I would love to replace by accessing the "aio rt activation" information:

ursboller_0-1601284303982.png

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 25
Employee
duypnguyen
Employee

Likes

29 likes

Total Posts

163 posts

Correct Reply

31 solutions
Top badges earned
Boost 25
Applaud 5
Give Back 5
Give Back 3
Give Back 10
View profile

Avatar
Boost 25
Employee
duypnguyen
Employee

Likes

29 likes

Total Posts

163 posts

Correct Reply

31 solutions
Top badges earned
Boost 25
Applaud 5
Give Back 5
Give Back 3
Give Back 10
View profile
duypnguyen
Employee

28-09-2020

Hi @ursboller - It would be possible using the openwhisk npm, particularly ow.activations.logs (I couldn't find the example in docs, but here is the API: https://github.com/apache/openwhisk-client-js/blob/master/lib/activations.js#L35). I am yet to try it though, will do later today.

Answers (0)