Re: more contrib: log rotator - Mailing list pgsql-hackers

From scott.marlowe
Subject Re: more contrib: log rotator
Date
Msg-id Pine.LNX.4.33.0304041521030.25120-100000@css120.ihs.com
Whole thread Raw
In response to Re: more contrib: log rotator  ("Ed L." <pgsql@bluepolka.net>)
Responses Re: more contrib: log rotator  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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.



pgsql-hackers by date:

Previous
From: "Ed L."
Date:
Subject: Re: more contrib: log rotator
Next
From: Tom Lane
Date:
Subject: Re: more contrib: log rotator