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

RSXML: log.setup with no log_level returns error #698

Open
MattReimer opened this issue Feb 16, 2024 · 0 comments
Open

RSXML: log.setup with no log_level returns error #698

MattReimer opened this issue Feb 16, 2024 · 0 comments
Labels
🐛 bug Something isn't working DataExchange_3.0 2022 Warehouse Refactor rsxml

Comments

@MattReimer
Copy link
Member

log.setup(log_path=os.path.join(merged_folder, 'merge-projects.log'))
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/vscode/.local/lib/python3.11/site-packages/rsxml/logging/logger.py", line 183, in setup
    self.instance.setup(**kwargs)
  File "/home/vscode/.local/lib/python3.11/site-packages/rsxml/logging/logger.py", line 66, in setup
    self.verbose = verbose if verbose else log_level >= logging.DEBUG
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: '>=' not supported between instances of 'NoneType' and 'int'
@MattReimer MattReimer added 🐛 bug Something isn't working DataExchange_3.0 2022 Warehouse Refactor rsxml labels Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working DataExchange_3.0 2022 Warehouse Refactor rsxml
Projects
None yet
Development

No branches or pull requests

1 participant