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

Fixes #299: Removed rerouting of System.out and System.err to JUL #300

Conversation

robertpanzer
Copy link
Member

The current solution to capture output from Asciidoctor and route it to a Java logger leads to infinite recursions and therefore StackOverflows when a ConsoleHandler is configured, which is the default in most configurations.
This problem is not reproducable with gradle as it replaces the normal System.out and System.err fields with own streams.
As Dan pointed out in #299 Asciidoctor will provide another solution that allows for capturing the output without having to read from System.out.
Therefore this PR completely removes capturing System.out and .err without replacement.

@mojavelinux
Copy link
Member

👍

lordofthejars added a commit that referenced this pull request May 8, 2015
Fixes #299: Removed rerouting of System.out and System.err to JUL
@lordofthejars lordofthejars merged commit 641e730 into asciidoctor:asciidoctorj-1.6.0 May 8, 2015
@robertpanzer robertpanzer deleted the RemoveSystemOutRerouting branch May 22, 2015 18:51
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.

3 participants