Skip to content

Cleaned up trace log SPIF Block Device #10756

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

martinichka
Copy link
Contributor

Description

Using SPIF Block Device generated a lot of trace log even when trace threshold is set to INFO. Cleaned up trace log SPIF Block Device:

  • Set most SPIF log to DEBUG level.
  • Removed double DEBUG/ERROR/INFO tags.
  • Removed not needed line endings.
  • Add trace logging with size of block device
  • Removed 'h' postfix for hex values (already have 0x prefix)

Pull request type

[ ] Fix
[x] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change

Reviewers

Release Notes

@0xc0170
Copy link
Contributor

0xc0170 commented Jun 4, 2019

There's a conflict - we merged one PR addressing some of the issues here, please rebase and review

@martinichka
Copy link
Contributor Author

I mistakenly branched from an older local master branch indeed. I merged the changes of master and resolved the conflicts.

Marten Lootsma added 2 commits June 4, 2019 16:03
- Test most SPIF log to DEBUG level.
- Removed DEBUG/ERROR/INFO tags.
- Removed not needed line endings.
@martinichka martinichka force-pushed the feature-correct-trace-level-storage-spif branch from 5f96c75 to ed36cc4 Compare June 4, 2019 14:06
@martinichka
Copy link
Contributor Author

Now rebased instead

@ciarmcom ciarmcom requested review from a team June 4, 2019 15:00
@ciarmcom
Copy link
Member

ciarmcom commented Jun 4, 2019

@martinichka, thank you for your changes.
@ARMmbed/mbed-os-storage @ARMmbed/mbed-os-maintainers please review.

Copy link
Contributor

@SeppoTakalo SeppoTakalo left a comment

Choose a reason for hiding this comment

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

Looks OK.

@adbridge
Copy link
Contributor

CI started.

@mbed-ci
Copy link

mbed-ci commented Jun 19, 2019

Test run: SUCCESS

Summary: 11 of 11 test jobs passed
Build number : 1
Build artifacts

@adbridge adbridge merged commit 61881e8 into ARMmbed:master Jun 19, 2019
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.

7 participants