Skip to content

SLF4J Error message Log on first execution. #80

Closed
@feinstein

Description

@feinstein

The first time my lambda code runs, it leave a SLF4J error message on CloudWatch logs:

image

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:

image

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions