Re: more contrib: log rotator

From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: "Ed L(dot)" <pgsql(at)bluepolka(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Andrew Sullivan <andrew(at)libertyrms(dot)info>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: more contrib: log rotator
Date: 2003-04-04 22:34:22
Message-ID: Pine.LNX.4.33.0304041521030.25120-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-04-04 22:42:16 Re: more contrib: log rotator
Previous Message Ed L. 2003-04-04 22:11:58 Re: dbmirror revisions