-
Notifications
You must be signed in to change notification settings - Fork 571
Description
The first time my lambda code runs, it leave a SLF4J error message on CloudWatch logs:
You can see on the above image that I run my lambda code several times and the SLF4J error only appears on the first execution.
In order to be sure this was not a problem from my code, I downloaded the Jersey sample and uploaded it to my lambda instance. On the first execution there's also an error message, but from Log4J this time:
I am not using SLF4J on my project, I am using pure log4j2 with the AWS Appender. But my code is very simple, just an echo so I can test the whole architecture and even before I placed log4j2 the SLF4J error was still there.
In order to reproduce this issue you have to upload a new jar since this only happens on the first execution (cold start) of a lambda function.
If you want I can send you my test code so you can see the SLF4J error message yourself.

