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

0

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...

質問済み 3年前229ビュー
2回答
0

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

回答済み 3年前
0

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.

Uninstall: https://docs.aws.amazon.com/greengrass/v2/developerguide/uninstall-greengrass-core-v2.html
Install: https://docs.aws.amazon.com/greengrass/v2/developerguide/install-greengrass-core-v2.html

回答済み 3年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ