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 before the import starts results in the json-encoded msg being echoed to the screen #120

Open
pbiron opened this issue Jun 14, 2017 · 0 comments

Comments

@pbiron
Copy link

pbiron commented Jun 14, 2017

While I was working on Simple namespace-aware parsing, I discovered that any error/warning/etc logging that is done before the actual import starts (e.g., in WXR_Importer::get_preliminary_information()) results in the json-encoded msg being echoed to the screen.

When being run interactively, shouldn't the HTML logger be used for those initial steps and then switch to the ServerSentEvents logger only once the actual import starts?

@pbiron pbiron changed the title logging before the import starts resultsin the json-encoded msg being echoed to the screen logging before the import starts results in the json-encoded msg being echoed to the screen Jun 15, 2017
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