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

No way to redirect warning messages to standard python logging implementation #39

Closed
rkhwaja opened this issue Nov 19, 2013 · 1 comment

Comments

@rkhwaja
Copy link

rkhwaja commented Nov 19, 2013

PdfFileReader sends all warning messages to stderr (or some other file that you can specify). Normally, you can redirect warnings into the logging system by using logging.captureWarnings. PdfFileReader stops this by replacing the showWarning function in the constructor.

The only problem is that this will break backwards compatibility for the PdfFileReader constructor.

@rkhwaja
Copy link
Author

rkhwaja commented Jul 6, 2017

I think this is fixed now

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