dbTalk Databases Forums  

pg_ctl and stderr

comp.databases.postgresql.general comp.databases.postgresql.general


Discuss pg_ctl and stderr in the comp.databases.postgresql.general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ed L.
 
Posts: n/a

Default pg_ctl and stderr - 11-11-2004 , 01:13 AM







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?

Ed


---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo (AT) postgresql (DOT) org


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.