Re: more contrib: log rotator

Поиск
Список
Период
Сортировка
От scott.marlowe
Тема Re: more contrib: log rotator
Дата
Msg-id Pine.LNX.4.33.0304041521030.25120-100000@css120.ihs.com
обсуждение исходный текст
Ответ на Re: more contrib: log rotator  ("Ed L." <pgsql@bluepolka.net>)
Ответы Re: more contrib: log rotator
Список 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 по дате отправления:

Предыдущее
От: "Ed L."
Дата:
Сообщение: Re: more contrib: log rotator
Следующее
От: Tom Lane
Дата:
Сообщение: Re: more contrib: log rotator