Closed Peter-Schorn closed 3 years ago
@Peter-Schorn sorry for the slow response. logging with context.logger.error should work out of the box. are you still experiencing this issue?
Thanks for your response. I am no longer experiencing any issues. I discovered that it takes 5-10 minutes for log messages to show up in the cloud watch console.
@Peter-Schorn Do you mind of we close this issue now?
I'm having a little trouble figuring out how to see the logs for my function. Within my lambda function, at the very beginning, I have the following:
I also set the
LOG_LEVEL
environment variable totrace
.I went to the cloud watch console, as described in the user guide and selected "Log Groups" from the navigation pane and selected the log group for my function. Yet, I do not see any of the log messages that I created.
I apologize if this is the wrong place to ask this question, but I could not find any helpful information anywhere else.