-
Notifications
You must be signed in to change notification settings - Fork 2
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
Improve debug output #47
Merged
mschwan-phytec
merged 7 commits into
phytec:main
from
landerweit-phytec:wip-improve-debug
Jul 5, 2023
Merged
Improve debug output #47
mschwan-phytec
merged 7 commits into
phytec:main
from
landerweit-phytec:wip-improve-debug
Jul 5, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Closed
mschwan-phytec
requested changes
Apr 5, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please squash any fixup commits.
landerweit-phytec
force-pushed
the
wip-improve-debug
branch
from
April 12, 2023 09:50
729fecf
to
dc0fadb
Compare
landerweit-phytec
force-pushed
the
wip-improve-debug
branch
2 times, most recently
from
June 6, 2023 07:36
f22f3f7
to
5450077
Compare
I reworked the message output again. It uses a custom log writer function in |
landerweit-phytec
force-pushed
the
wip-improve-debug
branch
2 times, most recently
from
June 12, 2023 11:14
439f1be
to
9c99351
Compare
landerweit-phytec
force-pushed
the
wip-improve-debug
branch
4 times, most recently
from
June 16, 2023 14:34
ac64209
to
5fc9898
Compare
mschwan-phytec
requested changes
Jun 20, 2023
landerweit-phytec
force-pushed
the
wip-improve-debug
branch
2 times, most recently
from
June 21, 2023 12:14
f77d261
to
b098eca
Compare
mschwan-phytec
requested changes
Jul 4, 2023
The new option quiet suppresses all messages except errors. Signed-off-by: Leonard Anderweit <l.anderweit@phytec.de>
Different log domains for each source allow to enable and disable logging individually. Signed-off-by: Leonard Anderweit <l.anderweit@phytec.de>
landerweit-phytec
force-pushed
the
wip-improve-debug
branch
2 times, most recently
from
July 4, 2023 15:51
e88488f
to
21eb82f
Compare
mschwan-phytec
requested changes
Jul 5, 2023
The new option allows to specify one ore more modules for which debug output is printed. Usage: '--debug-domains=config' or '--debug-domains=config,mount' Signed-off-by: Leonard Anderweit <l.anderweit@phytec.de>
Add debug output for pu-mount and pu-umount. Signed-off-by: Leonard Anderweit <l.anderweit@phytec.de>
Move debug output for copying files, extracting archives and writing raw data from pu-emmc to pu-utils. Signed-off-by: Leonard Anderweit <l.anderweit@phytec.de>
Add messages to indicate at what step of writing data partup currently is. Signed-off-by: Leonard Anderweit <l.anderweit@phytec.de>
Signed-off-by: Leonard Anderweit <l.anderweit@phytec.de>
landerweit-phytec
force-pushed
the
wip-improve-debug
branch
from
July 5, 2023 07:52
21eb82f
to
9be066b
Compare
mschwan-phytec
approved these changes
Jul 5, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Improve control over debug output with two new options:
--quiet: redirect all messages to the journal, except for error messages
--debug-domains: enable debug output only for the specified modules
Open points:
pu-utils
andpu-mount
G_LOG_DOMAIN
Supersedes #23