By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,178 Members | 971 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,178 IT Pros & Developers. It's quick & easy.

pg_ctl and stderr

P: n/a

On 7.4.6 and earlier, we use apache's log rotation program as follows:

pg_ctl start | rotatelogs ...

If we have a configuration failure, say a bad parameter in postgresql.conf,
we often don't quickly notice because it goes to stdout (into the log).

It'd be nice if it went to stderr as well so we could see it without having
to search the log, but that wouldn't work if we wanted to capture stderr in
the logs (do normal ERROR messages go to stderr?).

Just curious how folks make pg_ctl start-up failures obvious while also
piping to apache rotatelogs?

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ma*******

Nov 23 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.