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

Messages are being printed to console via a print statement since v0.8.1 #251

Closed
mikeengland opened this issue Jan 4, 2019 · 2 comments
Closed

Comments

@mikeengland
Copy link

In the commit feb7869#diff-08e1a2fc0457d9f1c5a22e5344108fa4R470 (new line 470), the code executes a print statement if there is a message.

Please can this be changed to either a Python warning or a log message so it can easily be ignored when using vertica-python as a third party module?

@mikeengland mikeengland changed the title Warnings are being printed to console since v0.8.1 Messages are being printed to console via a print statement since v0.8.1 Jan 4, 2019
@sitingren
Copy link
Member

sitingren commented Jan 4, 2019

Thank you for your feedback! We have an open issue #243 to gather ideas about message handling. Please leave your suggestions there. It would be great if you also describe your expectation about message handling behaviors when using vertica-python as a third party module.

EDIT: For now, I have pushed a quick fix to write messages to log (#252). Please install version 0.8.2 to get this fix. You are still encouraged to tell us your thoughts at #243. Thanks!

@mikeengland
Copy link
Author

Thank you @sitingren, that will allow us to ignore the Vertica messages or log them elsewhere, which is much easier than dealing with print statements!

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

2 participants