dazn-lambda-powertools
dazn-lambda-powertools copied to clipboard
Log.error generating Info Status
This is a Bug Report
Description
- What went wrong? I am using Log.error function in aws lambda but logs in Datadog are showing status as info instead of error in Monitoring tool
- What did you expect should have happened? Status is appearing as info instead of error
- What was the config (if any) you used? No
- What stacktrace or error message did you see?
level [ |
-- | --
50,ERROR | 50,ERROR | 50, | ERROR
50,ERROR | 50, | ERROR
50,
ERROR
]
sLevel | ERROR
-- | --
status | info
Additional Data
- Which powertool package are you using?:
- Which version are you using?: latest version as using * in package.json
- Middy engine version you're using:
- Operating System: Aws lambda