- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
hi,
we created simple headless action and asset compute worker in the same project, logs are written using (for example)
logger.info('Calling the main action');
console.log('Calling the main action');
When application is run using : aio app run, and action is triggered in the browser (https://80xx-xxheadlessapp-xxdemows.adobeioruntime.net/api/v1/web/xxHeadlessApp-0.0.1/myaction/)
in the cmd line we can only see logs coming from asset compute worker and there are no logs from action.
Executing: aio rt activation list
returns only activation list from worker
Executing: aio app logs, it returns empty
When application is run using : aio app run -- local (we set two docker images as per instructions, nodejs and openwhisk)
and action is executed (by running the same url as above, https://80xx-xxheadlessapp-xxdemows.adobeioruntime.net/api/v1/web/xxHeadlessApp-0.0.1/myaction/) there's no debug lines of any kind (action or asset compute worker) in the cmd line.
Any advice how to make logs working ?
Solved! Go to Solution.