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

Logging is broken for Python 2.6 #67

Open
NZJourneyMan opened this issue Jul 31, 2017 · 0 comments
Open

Logging is broken for Python 2.6 #67

NZJourneyMan opened this issue Jul 31, 2017 · 0 comments

Comments

@NZJourneyMan
Copy link

setlevel() in the logging module for python2.6 requires an integer and silently fails if passed a string.

NZJourneyMan added a commit to NZJourneyMan/rhsecapi that referenced this issue Jul 31, 2017
Python 2.6 has a number of different areas:
o setLevel silently ignores non integers, so strings cannot be used.
o getLogger at the top level needs to be 'root' if submodules are to
  inherit correctly.

Tidied up the library logging definition to follow the root logger.

Addresses Issue: RedHatOfficial#67
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant