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

How to get sterr output after command execution? #223

Closed
gam6itko opened this issue Jul 26, 2016 · 2 comments
Closed

How to get sterr output after command execution? #223

gam6itko opened this issue Jul 26, 2016 · 2 comments

Comments

@gam6itko
Copy link

gam6itko commented Jul 26, 2016

I need to log it

@akerouanton
Copy link
Contributor

Hey @gam6itko,

First of all, thank you for your interest for snappy and sorry for the long awaited answer. Currently there's no way in the library to do it. So merely you need to overload the current generator or just add some dump calls where you want.

I created a little issue some time ago about backporting the LoggableGenerator from snappy-bundle to this lib (see #258). As soon as I've got some time to do it, I will. Or I'd be glad to merge any PR doing it :)

akerouanton pushed a commit to akerouanton/snappy that referenced this issue Sep 12, 2017
akerouanton pushed a commit to akerouanton/snappy that referenced this issue Sep 13, 2017
akerouanton pushed a commit to akerouanton/snappy that referenced this issue Sep 13, 2017
@akerouanton
Copy link
Contributor

I added logging capabilities in order to ease debugging of snappy/wkhtmltopdf. You can now call setLogger on the generators to enable logging. By default generators use a NullLogger. See #264.

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

2 participants