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

Remove the support for changing the log level #2864

Merged
merged 3 commits into from
Nov 16, 2020

Conversation

poncovka
Copy link
Contributor

@poncovka poncovka commented Sep 21, 2020

There is no handler that allows to change its log level. The last one was the
file handler for /tmp/packaging.log. Since the commit a2ae719, all handlers
have their log levels set to DEBUG all the time.

Remove the loglevel option.

Deprecate the --level option of the logging kickstart command.

Depends on: pykickstart/pykickstart#341

@poncovka poncovka added master Please, use the `f39` label instead. manual testing required This issue can't be merged without manual testing labels Sep 21, 2020
VladimirSlavik
VladimirSlavik previously approved these changes Sep 21, 2020
Copy link
Contributor

@VladimirSlavik VladimirSlavik left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thank you!

@poncovka
Copy link
Contributor Author

Jenkins, test this please.

Copy link
Member

@jkonecny12 jkonecny12 left a comment

Choose a reason for hiding this comment

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

Looks good to me so far ;). Thanks for this work!

Copy link
Member

@jkonecny12 jkonecny12 left a comment

Choose a reason for hiding this comment

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

Removing Approve flag because this is just a Draft still.

@poncovka poncovka force-pushed the master-remove_log_level_support branch from 8b872bf to fed23cb Compare October 1, 2020 10:44
@poncovka poncovka added the blocked Don't merge this pull request! label Oct 1, 2020
@poncovka
Copy link
Contributor Author

poncovka commented Oct 1, 2020

Blocked by pykickstart.

@poncovka poncovka marked this pull request as ready for review October 1, 2020 11:08
Copy link
Member

@jkonecny12 jkonecny12 left a comment

Choose a reason for hiding this comment

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

You have my ACK here. Thanks!

@poncovka
Copy link
Contributor Author

poncovka commented Oct 2, 2020

Jenkins, test this please.

Copy link
Member

@jkonecny12 jkonecny12 left a comment

Choose a reason for hiding this comment

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

Otherwise you can't merge this.

anaconda.spec.in Outdated
@@ -35,7 +35,7 @@ Source0: %{name}-%{version}.tar.bz2
%define libxklavierver 5.4
%define mehver 0.23-1
%define nmver 1.0
%define pykickstartver 3.28-1
%define pykickstartver 3.31-1
Copy link
Member

Choose a reason for hiding this comment

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

Please this should be 3.30 version.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The fix hasn't been released yet.

Copy link
Member

Choose a reason for hiding this comment

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

my bad, I'm blind

@poncovka poncovka removed the manual testing required This issue can't be merged without manual testing label Oct 2, 2020
jkonecny12
jkonecny12 previously approved these changes Oct 2, 2020
There is no handler that allows to change its log level. The last one was the
file handler for /tmp/packaging.log. Since the commit a2ae719, all handlers
have their log levels set to DEBUG all the time.
@poncovka poncovka force-pushed the master-remove_log_level_support branch from fed23cb to 10e05e9 Compare November 16, 2020 11:54
@poncovka poncovka removed the blocked Don't merge this pull request! label Nov 16, 2020
@poncovka
Copy link
Contributor Author

Rebased. I will open another pull request for the kickstart command.

The support for this option doesn't work for a while.
The storage logger is no longer used. The logging is handled by the Storage module.
@poncovka poncovka force-pushed the master-remove_log_level_support branch from 10e05e9 to 7981514 Compare November 16, 2020 12:01
@poncovka poncovka merged commit fee0b4b into rhinstaller:master Nov 16, 2020
vojtechtrefny added a commit to vojtechtrefny/lorax that referenced this pull request Nov 18, 2020
bcl pushed a commit to weldr/lorax that referenced this pull request Nov 18, 2020
bcl pushed a commit to weldr/lorax that referenced this pull request Dec 2, 2020
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.
3 participants