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

Multiple Printers to Honcho Manager? #205

Open
achillesrasquinha opened this issue Aug 14, 2018 · 3 comments
Open

Multiple Printers to Honcho Manager? #205

achillesrasquinha opened this issue Aug 14, 2018 · 3 comments

Comments

@achillesrasquinha
Copy link

achillesrasquinha commented Aug 14, 2018

Was wondering if there is a way to add multiple Printer objects (for instance, std.out and file) to a Manager object?

Using the Honcho API, not the command-line interface.

@nickstenning
Copy link
Owner

From a glance at the code that's not currently possible, but I suspect it wouldn't be too tricky to make the necessary changes. Feel free to have a go at it if you'd like. As long as the code remains tested and the default behaviour (i.e. one printer to STDOUT) remains the same I'd happily merge the changes.

@achillesrasquinha
Copy link
Author

I guess the Manager requires a collection of printers to write to. I'll send in a PR soon for this!

@achillesrasquinha
Copy link
Author

achillesrasquinha commented Aug 21, 2018

I'm currently using honcho as my development runner (using the Python API and not a Procfile). I was keen to have the logs on screen and on a buffer. Somewhat like how winston does it.

achillesrasquinha added a commit to achillesrasquinha/honcho that referenced this issue Dec 18, 2018
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