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

Write pgctl actions into the log #158

Open
chriskuehl opened this issue Oct 17, 2016 · 1 comment
Open

Write pgctl actions into the log #158

chriskuehl opened this issue Oct 17, 2016 · 1 comment

Comments

@chriskuehl
Copy link
Contributor

Sometimes it's hard to tell when pgctl takes certain actions in the log. For example, it's not really clear at what point pgctl times out trying to start a service and then stops it (you can sometimes tell based on the finish script, but even then it's not clear why it exited: did pgctl kill it? did it die on its own?). It'd be useful if it wrote a line to the log like:

[pgctl] ERROR: service 'apache' failed to start after 120.12 seconds (it took 0.0468890666962s to poll), its status is up (pid 87214) 120 seconds

It already prints this, but doesn't put it into the log.

@chriskuehl
Copy link
Contributor Author

Would also be nice to know at what point a service actually becomes ready, since the healthcheck may not print this.

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

1 participant