Amazon.Lambda.Logging.AspNetCore - Always logs level as "trce" #1889
-
Using AddLambdaLogger I've added the Amazon.Lambda.Logging.AspNetCore v3.1.1 provider to my Lamba logging capabilities. One issue I am experiencing is that no matter what logging statement I use, the logs are always written with a level of 'trce' in CloudWatch. If I enable the "IncludeLogLevel" LambdaLoggerOptions then the correct log level is included inside the log message. These are my logging statements and the logging outcomes are show in the screenshot below.
Can anyone confirm if I am doing something stupid here, or is this the expected behaviour? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @bradyjp1974 this is an issue with our libraries and how they interact with ASP.NET Core logging. I'm working on a fix and hope to push out a PR soonish. |
Beta Was this translation helpful? Give feedback.
Hi @bradyjp1974 this is an issue with our libraries and how they interact with ASP.NET Core logging. I'm working on a fix and hope to push out a PR soonish.