dazn-lambda-powertools icon indicating copy to clipboard operation
dazn-lambda-powertools copied to clipboard

Log.error generating Info Status

Open sharmam-caremonitor opened this issue 3 years ago • 0 comments

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

sharmam-caremonitor avatar Oct 31 '22 13:10 sharmam-caremonitor