Using Log4J with Java AWS Lambda Function

0

Hi, if we use the log4j library with our Java Lambda Function, where is the log written to? Is it written along with the CloudWatch logs? Thank you.

1 Resposta
2
Resposta aceita

Hello.

Yes, you can output to CloudWatch Logs using the log4j library.
https://docs.aws.amazon.com/lambda/latest/dg/java-logging.html#java-logging-log4j2

profile picture
ESPECIALISTA
respondido há 4 meses
profile pictureAWS
ESPECIALISTA
avaliado há 4 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas