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

Buffer stack traces from subprocess #87

Open
NaanProphet opened this issue Sep 6, 2016 · 3 comments
Open

Buffer stack traces from subprocess #87

NaanProphet opened this issue Sep 6, 2016 · 3 comments

Comments

@NaanProphet
Copy link

Hi there!

Would it be conceptually possible/feasible to buffer and log stack traces at stderr from a VerboseProcess to print as a single statement?

We are essentially using the log file of the parent JVM for some monitoring, and having the stack trace write 100+ separate statements in our file is triggering that many alerts

@dmarkov
Copy link

dmarkov commented Sep 12, 2016

@yegor256 take a look at this issue please and dispatch it somehow, see par.21

@yegor256
Copy link
Member

@NaanProphet just save them to StringOutputStream. Or I didn't understand the question?

@NaanProphet
Copy link
Author

Hey @yegor256! i think it's a little different—

In this use case, the sub-process that's running is an outside library/process whose code we don't have access to. Otherwise, it would have been conceptually possible to change their code to use e.g. a StringOutputStream

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

3 participants