Skip to content

vdk-core: remove redundant logs#2841

Merged
DeltaMichael merged 1 commit intomainfrom
person/mdilyan/remove-redundant-logs
Nov 1, 2023
Merged

vdk-core: remove redundant logs#2841
DeltaMichael merged 1 commit intomainfrom
person/mdilyan/remove-redundant-logs

Conversation

@DeltaMichael
Copy link
Copy Markdown
Contributor

@DeltaMichael DeltaMichael commented Oct 26, 2023

Why

As part of the run logs initiative, we should audit all log statements and error messages in vdk-core and make sure there aren't any redundancies, e.g. overly verbose messages or messages that don't add value.

What

Remove usage of the below constants wherever possible

MSG_CONSEQUENCE_DELEGATING_TO_CALLER__LIKELY_EXECUTION_FAILURE
MSG_COUNTERMEASURE_FIX_PARENT_EXCEPTION 
MSG_CONSEQUENCE_TERMINATING_APP

Re-word log statements and exception messages that are too verbose

How was this tested?

CI

What kind of change is this?

Feature/non-breaking

@DeltaMichael DeltaMichael force-pushed the person/mdilyan/remove-redundant-logs branch from ea3a710 to 28b608f Compare October 26, 2023 13:46
Copy link
Copy Markdown
Collaborator

@dakodakov dakodakov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@DeltaMichael DeltaMichael force-pushed the person/mdilyan/remove-redundant-logs branch 3 times, most recently from 5042bcf to 67523b5 Compare October 31, 2023 15:45
Why

As part of the run logs initiative, we should audit all log statements
and error messages in vdk-core and make sure there aren't any redundancies,
e.g. overly verbose messages or messages that don't add value.

What

Remove

MSG_CONSEQUENCE_DELEGATING_TO_CALLER__LIKELY_EXECUTION_FAILURE
MSG_COUNTERMEASURE_FIX_PARENT_EXCEPTION
MSG_CONSEQUENCE_TERMINATING_APP

where possible

Re-word log statements and exception messages that are too verbose

How was this tested?

CI

What kind of change is this?

Feature/non-breaking

Signed-off-by: Dilyan Marinov <mdilyan@vmware.com>
@DeltaMichael DeltaMichael force-pushed the person/mdilyan/remove-redundant-logs branch from 67523b5 to 2f459c0 Compare November 1, 2023 09:28
@DeltaMichael DeltaMichael merged commit e6c0a17 into main Nov 1, 2023
@DeltaMichael DeltaMichael deleted the person/mdilyan/remove-redundant-logs branch November 1, 2023 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants