Trying to get console.log() calls into a GreenGrass v2 log file


I'm trying to get console.log() calls from JavaScript to show in a log file in AWS GreenGrass version 2. Version 1 has a "Local logs configuration" option area, under "Groups" -> "Settings", but I haven't been able to find any comparable settings for version 2. I see various log files in /greengrass/v2/logs, but none of them show my console.log() calls.

Thanks for any help on this...

asked 2 years ago32 views
2 Answers

I have the aws.greengrass.LogManager component deployed, as well.

answered 2 years ago

My GreenGrass lambda was not getting called, I added console.log() call that always happens, and I uninstalled and reinstalled Greengrass, and now I see log messages.


answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions