[BP MB-45874 7.0.2] - Always emit the first exception to the application log then summarize

Description

The developer experience for logging exceptions to the Application log () is poor.
 
Right now when in a dev cycle working on a new script it is a bit perplexing when you wait on average 30 seconds (and up to 60 seconds) to see the exception (along with a count) be emitted.

  • We could always the very first message, i.e. count===1 immediately the first time we see the exception after any deployment or any resume.

  • Then we fall back to the current behaviour of summarization only on count === 2-N ( or minute two+ on 1-N) summarize and emit once per minute. 

 

This would speed up initial debug feedback to the developer for quicker understanding of the issue and still limit overwhelming logging.
 

Components

Affects versions

Fix versions

Labels

Environment

None

Link to Log File, atop/blg, CBCollectInfo, Core dump

None

Release Notes Description

None

Activity

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Is this a Regression?

Unknown

Triage

Untriaged

Story Points

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created August 11, 2021 at 4:35 AM
Updated August 26, 2021 at 8:42 AM
Resolved August 18, 2021 at 9:38 AM
Instabug