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

Fix logging for pdf2txt #325

Merged
merged 1 commit into from
Nov 6, 2019

Conversation

hason
Copy link
Contributor

@hason hason commented Oct 31, 2019

Fixes #313

Copy link
Member

@pietermarsman pietermarsman left a comment

Choose a reason for hiding this comment

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

Hi @hason,

Thanks for fixing this issue. I've made some small remarks about removing or moving things from/in this PR.

I also wonder if this effects the debug output of the dumppdf.py command. I think there should also be a logging.basicConfig() statement included there.

tools/pdf2txt.py Outdated Show resolved Hide resolved
tools/pdf2txt.py Outdated Show resolved Hide resolved
@hason hason changed the title Simplify pdf2txt and enable debug logging Fix logging for pdf2txt Nov 5, 2019
Copy link
Member

@pietermarsman pietermarsman left a comment

Choose a reason for hiding this comment

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

logging.basicConfig() is missing in dumppdf.py.

@hason
Copy link
Contributor Author

hason commented Nov 5, 2019

Fixed logging in dumppdf, pdf2txt and pdfdiff.

@pietermarsman
Copy link
Member

Thanks!

@pietermarsman pietermarsman merged commit ed1b09c into pdfminer:develop Nov 6, 2019
pietermarsman added a commit that referenced this pull request Nov 6, 2019
@pietermarsman pietermarsman mentioned this pull request Nov 7, 2019
@hason hason deleted the pdf2txt branch November 7, 2019 22:15
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

Successfully merging this pull request may close these issues.

Debug flag for pdf2text.py and dumpdf.py does not change anything
2 participants