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

Stop using undocumented DNF logging API #658

Closed
wants to merge 1 commit into from

Conversation

bcl
Copy link
Contributor

@bcl bcl commented Jun 2, 2016

DNF doesn't want users to access base.logging anymore.

This changes the dnf logging so that the dnf and dnf.rpm loggers go into
packaging.log now. It preserves the dnf.librepo.log file and the
hawkey.log files so that they can be examined after the installation is
complete or crashes.

DNF doesn't want users to access base.logging anymore.

This changes the dnf logging so that the dnf and dnf.rpm loggers go into
packaging.log now. It preserves the dnf.librepo.log file and the
hawkey.log files so that they can be examined after the installation is
complete or crashes.
@bcl bcl added master Please, use the `f39` label instead. f24-branch labels Jun 2, 2016
@@ -179,6 +179,13 @@ def __init__(self):
autoLevel=True)
self.forwardToSyslog(packaging_logger)

# Create the dnf logger and link it to packaging
dnf_logger = logging.getLogger("dnf")
dnf_logger.setLevel(logging.DEBUG)
Copy link
Contributor

Choose a reason for hiding this comment

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

Any reason why we are using a different log level than in lorax here?

Copy link
Contributor

Choose a reason for hiding this comment

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

Oh, I see it below now.

@vpodzime
Copy link
Contributor

vpodzime commented Jun 3, 2016

Looks good to me.

@vpodzime vpodzime added the ACK label Jun 3, 2016
@bcl
Copy link
Contributor Author

bcl commented Jun 6, 2016

Pushed to master.

@bcl bcl removed the f24-branch label Jun 14, 2016
@bcl bcl closed this Jun 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
master Please, use the `f39` label instead.
2 participants