Skip to content

[Logger]Cannot include context Lambda info in logger. #1246

Closed Answered by jeromevdl
H1Gdev asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, thanks for your message. I've just tried with the example and I have the function information:

{
    "timestamp": "2023-06-28T07:34:21.824+0000UTC",
    "instant": {
        "epochSecond": 1687937661,
        "nanoOfSecond": 824917000
    },
    "thread": "main",
    "level": "INFO",
    "loggerName": "helloworld.App",
    "message": "13.43.90.247",
    "endOfBatch": false,
    "loggerFqcn": "org.apache.logging.log4j.spi.AbstractLogger",
    "threadId": 1,
    "threadPriority": 5,
    "coldStart": "true",
    "functionArn": "arn:aws:lambda:eu-west-2:705456458224:function:powertools-core-HelloWorldFunction-JkgcEOm8TW1M",
    "functionMemorySize": "512",
    "functionName": "powertools-…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@H1Gdev
Comment options

Answer selected by H1Gdev
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants