Re: more contrib: log rotator
scott.marlowe <scott.marlowe@ihs.com>
From: "scott.marlowe" <scott.marlowe@ihs.com>
To: "Ed L." <pgsql@bluepolka.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Peter Eisentraut <peter_e@gmx.net>, Andrew Sullivan <andrew@libertyrms.info>, <pgsql-hackers@postgresql.org>
Date: 2003-04-04T22:34:22Z
Lists: pgsql-hackers
On Fri, 4 Apr 2003, Ed L. wrote: > On Friday April 4 2003 2:17, scott.marlowe wrote: > > > > OK, So I tried putting the 2>&1 before the | and all. No matter what I > > try, every from the | on is ignored. ps doesn't show it, and neither > > does pg_ctl status. Both show a command line of > > /usr/local/pgsql/bin/postmaster as the only input to start the server. > > Not clear if you're looking at it this way or if this is your problem, but > you can't really tell there is log rotation going on just by grepping ps > for postmaster because ps does not typically show the postmaster and the > rotatelogs together on the same line. I wouldn't expect pg_ctl status to > know anything at all about rotatelogs when you pipe it like this. Hey, do you guys think that a setting of silent_mode = false might affect no log files getting created? I had it right as soon as I added Tom's recommended 2>&1 but spent another 30 minutes figuring out why my log file wasn't getting created / filled. Thanks for the help.