Skip to content
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

Change librpm log mask value from 0xFF to everything up to RPMLOG_INFO #929

Merged
merged 1 commit into from
Oct 3, 2023

Conversation

jrohel
Copy link
Contributor

@jrohel jrohel commented Oct 2, 2023

RPMLOG_DEBUG is fairly low-level and causes librpm to not remove auxiliary temporary files. Therefore, it is not a good idea to use RPMLOG_DEBUG as the default. Everything except RPMLOG_DEBUG is now logged.

However, we should consider introducing an option to enable RPMLOG_DEBUG for debugging purposes.

It solves the issue #893

RPMLOG_DEBUG is fairly low-level and causes librpm to not remove
auxiliary temporary files. Therefore, it is not a good idea to use
RPMLOG_DEBUG as the default. Everything except RPMLOG_DEBUG is now logged.

However, we should consider introducing an option to enable RPMLOG_DEBUG
for debugging purposes.
@jrohel jrohel linked an issue Oct 2, 2023 that may be closed by this pull request
@j-mracek
Copy link
Contributor

j-mracek commented Oct 3, 2023

LGTM

Copy link
Contributor

@ppisar ppisar left a comment

Choose a reason for hiding this comment

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

That's reasonable.

@ppisar
Copy link
Contributor

ppisar commented Oct 3, 2023

A test failure (COPR_USER secret) is independent.

@ppisar ppisar added this pull request to the merge queue Oct 3, 2023
Merged via the queue into rpm-software-management:main with commit 77f382b Oct 3, 2023
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

rpm-tmp.XXXXXX files in /var/tmp/
3 participants