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

Feature: Process STDOUT in god log #222

Open
DavidMikeSimon opened this issue Jul 13, 2015 · 2 comments
Open

Feature: Process STDOUT in god log #222

DavidMikeSimon opened this issue Jul 13, 2015 · 2 comments

Comments

@DavidMikeSimon
Copy link

When I'm using god in development VMs (e.g. in vagrant or codio), it would be convenient if I could see the output from all of the processes god is monitoring merged into one place along with god's own events, and ideally without syslog.

God.watch |w| do
  w.name "foo"
  w.start = "dofoo"
  w.keepalive
  w.log_merge
end
[2011-12-10 15:24:34]  INFO: foo start: dofoo
[2011-12-10 15:24:34]  INFO: foo moved 'init' to 'start'
[2011-12-10 15:24:35]  INFO: [foo STDOUT] Hello world!

This doesn't seem like it ought to be too tricky to implement, so I will give it a shot myself and make a PR. But before I start, does anyone think this would be a bad idea, or have any gotchas I should be aware of?

@DavidMikeSimon DavidMikeSimon changed the title Feature: Process STDOUT in God log Feature: Process STDOUT in god log Jul 13, 2015
@gmhawash
Copy link

I would love to have such a feature. Have you made any progress on it?

@DavidMikeSimon
Copy link
Author

Sorry, I ended up having to abandon my fork, other work came up :-(

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