I have made a simple AWS lambda and deployed it to with AWSLambdaFullAccess permissions. There was some logs after invocation. Next day I invoked the lambda again multiple times, all executions were successful but I didn't see any new logs into CloudWatch. I saw some logs only after redeploy the lambda
There is the code:
public string FunctionHandler(string input, ILambdaContext context)
{
LambdaLogger.Log(input);
return input.ToLower();
}
Lambda writes logs to a buffer which should be flushed after completing the lambda. But looks like for some reason lambda cannot flush it. I have notified AWS team about it few weeks ago, but the issue still not fixed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With